tqdm
[ allennlp.common.tqdm ]
allennlp.common.tqdm.Tqdm
wraps tqdm so we can add configurable
global defaults for certain tqdm parameters.
Tqdm Objects#
class Tqdm()
These defaults are the same as the argument defaults in tqdm.
default_mininterval#
default_mininterval = 0.1
set_default_mininterval#
| @staticmethod
| def set_default_mininterval(value: float) -> None
set_slower_interval#
| @staticmethod
| def set_slower_interval(use_slower_interval: bool) -> None
If use_slower_interval
is True
, we will dramatically slow down tqdm's
default
output rate. tqdm's
default output rate is great for interactively watching progress,
but it is not great for log files. You might want to set this if you are primarily going
to be looking at output through log files, not the terminal.
tqdm#
| @staticmethod
| def tqdm(*args, **kwargs)