serhii.net

In the middle of the desert you can say anything you want

11 Mar 2020

Day 436

Tensorflow Keras reset states of everything

Everytime I call model.fit() it does NOT reset the weights, DOES reset the hidden states (such as RNN/LSTM), does NOT reset optimizer settings. machine learning - keras.fit() re-initialises the weights - Stack Overflow

If I want to reset them, keras.backend.clear_session() should clear the info from the previous model.

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus