I'm training an LSTM, and for portion of epochs (range not consistent) during the 300 epoch training sequence it exhibits very good accuracy, for a significant length of time. I want to be able to save the entire model at this point, but can't seem to find a way to do it except to use checkpoints and then restore and save the new model.
Is there a way I can use model.save to only capture the model when it had its best weights?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…