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
{{ message }}
Repository navigation
How should I save the loss value during training? model.fit has no return value #927
I think you need to use Tensorflow.Keras.Engine.Sequential instead of model,
and then use predict, calculate loss from the result of predict,
calculate new gradients with Tensorflow.Gradients.GradientTape,
and finally use your keras.optamizers.[chosen optimizer].apply_gradients().
However, I am less than sure about this. I hope Haiping can answer this - possibly correcting my answer.
Activity
Darlanio commentedon Dec 31, 2022
I think you need to use Tensorflow.Keras.Engine.Sequential instead of model,
and then use predict, calculate loss from the result of predict,
calculate new gradients with Tensorflow.Gradients.GradientTape,
and finally use your keras.optamizers.[chosen optimizer].apply_gradients().
However, I am less than sure about this. I hope Haiping can answer this - possibly correcting my answer.
Fixed model.fit return results. #927
Oceania2018 commentedon Jan 31, 2023
model.fitreturnsHistoryfor next releasev0.100.2.ammar-albush commentedon Jan 31, 2023
When will the new version(v0.100.2) be available on Nuget ? @Oceania2018
Darlanio commentedon Jan 31, 2023
My guess, it will take at least a few days, probably a few weeks:
There are many small bugs to fix at present (927, 928... 973...)