version 4.59.0, Google Colab
Would love the keras TqdmCallback to support initial_epochs in keras .fit() call to correctly initialize the starting point of the progress bar when resuming training.
Passing the initial epoch using initial kwarg does not seem to work, as it is not considered in on_train_begin().
|
def on_train_begin(self, *_, **__): |
|
params = self.params.get |
|
auto_total = params('epochs', params('nb_epoch', None)) |
|
if auto_total is not None: |
|
self.epoch_bar.reset(total=auto_total) |
Colab Gist reproducing the problem:
https://colab.research.google.com/gist/fabiocarrara/3f81bed4bc735291205b1b42fd5c1567/untitled1.ipynb
version 4.59.0, Google Colab
Would love the keras TqdmCallback to support
initial_epochsin keras .fit() call to correctly initialize the starting point of the progress bar when resuming training.Passing the initial epoch using
initialkwarg does not seem to work, as it is not considered inon_train_begin().tqdm/tqdm/keras.py
Lines 69 to 73 in bcce20f
Colab Gist reproducing the problem:
https://colab.research.google.com/gist/fabiocarrara/3f81bed4bc735291205b1b42fd5c1567/untitled1.ipynb