mxnet.callback.ProgressBar¶
-
class
mxnet.callback.
ProgressBar
(total, length=80)[source]¶ Displays a progress bar, indicating the percentage of batches processed within each epoch.
- Parameters
total (int) – total number of batches per epoch
length (int) – number of chars to define maximum length of progress bar
Examples
>>> progress_bar = mx.callback.ProgressBar(total=2) >>> mod.fit(data, num_epoch=5, batch_end_callback=progress_bar) [========--------] 50.0% [================] 100.0%
Methods
__init__
(total[, length])Initialize self.