progress_bar#


class DummyTqdm(total: int, **kwargs: Any)[source]#

A dummy tqdm class that keeps stats but without progress bar.

It supports __enter__ and __exit__, update and a dummy set_postfix, which is the interface that trainers use.

Note

Using disable=True in tqdm config results in infinite loop, thus this class is created. See the discussion at #641 for details.

set_postfix(**kwargs: Any) None[source]#
update(n: int = 1) None[source]#