-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tf.keras.callbacks.ProgbarLogger(count_mode='samples') does not work #38765
Comments
Looks like code is incomplete. Request you to provide colab link or simple standalone code to reproduce the issue reported here.It helps us in localizing the issue faster.Thanks! |
Here is the link to a simple colab that I made, thank you. |
@goldiegadde But that would default to I looked at the link you gave me but it seems that the problem wasn't resolved. Hopefully this makes it clear. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
System information
(I'm sorry, this is my first time writing an issue.)
Describe the current behavior
I noticed from this commit that the default behavior of
ProgbarLogger
has been changed to always show the number of'steps'
instead of'samples'
. I was curious and tried to manually use aProgbarLogger
callback argument toModel.fit()
withcount_mode='samples'
instead, but then an error showed up.Describe the expected behavior
I expected it to work normally as with the older version of TensorFlow?
Standalone code to reproduce the issue
Other info / logs
On my local machine (TF 2.1), this is the default behavior:
On Google Colab (TF 2.2), I got this when I tried my code:
The text was updated successfully, but these errors were encountered: