Open xuezzz opened 4 years ago
You can refer the EvaluateAllMetrics
in the matchzoo/engine/callbacks
to see the policy of saving models. We save the models according the params once_every
.
So I can save models every epoch, but i can't only save the best model?
tf.keras.callbacks.ModelCheckpoint
has an arugument save_best_only
, you can use this callback to save the best model.
How to save the best model of dev data,and use this model to evaluate test data ? Thanks!