You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TensorFlow version and how it was installed (source or binary): TF-2.2.0rc1 (wheel compiled from source)
TensorFlow-Addons version and how it was installed (source or binary): 0.8.3 installed via pip
Python version: 3.7.6
Is GPU used? (yes/no): Yes
Describe the bug
Executing model.fit() with the TQDMProgressBar() callback results in KeyError: 'metrics' because of a change in TF-2.2 that moves initialization of model.metrics (and model.metrics_names) from compile stage to train stage.
@gabrieldemarmiesse I can confirm that the patch you mentioned fixed my issue 👍 It does introduce a new issue, however. Validation metrics are not printed at the end of an epoch anymore.
System information
Describe the bug
Executing
model.fit()
with theTQDMProgressBar()
callback results inKeyError: 'metrics'
because of a change in TF-2.2 that moves initialization ofmodel.metrics
(andmodel.metrics_names
) from compile stage to train stage.Code to reproduce the issue
Other info / logs
The text was updated successfully, but these errors were encountered: