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
Hi,
I'm getting this issue even after annotating loss function with @tf.function.
I google more about it. Seems like loss function needs to be initialized at every epoch because it breaks after the first epoch!
Could you please help me out with this asap!
The text was updated successfully, but these errors were encountered:
sehgalsakshi
changed the title
Issue training model on batch
Issue training model on batch (ValueError: tf.function-decorated function tried to create variables on non-first call.)
Sep 24, 2020
Hi,
I'm getting this issue even after annotating loss function with @tf.function.
I google more about it. Seems like loss function needs to be initialized at every epoch because it breaks after the first epoch!
Could you please help me out with this asap!
The text was updated successfully, but these errors were encountered: