Don’t know the number of batches in advance?

If you don’t have the number of batches in advance, you can initialize the logger with n_batches=None. Only the available information will be displayed. For instance with the configuration of the first example:

Alt Text

The progress bar is replaced by a cyclic animation. The eta times are not know at the first epoch but was estimated after the second epoch.