xnn.common.train.callbacks.ProgressBar#
- class xnn.common.train.callbacks.ProgressBar[source]#
Bases:
CallbackA
tqdmbar over each epoch’s batches with the running training loss (rank 0 only).- on_train_epoch_start(trainer, epoch)[source]#
Open the bar.
- Parameters:
epoch (int)
- Return type:
None