Generate and save models after training.
vigliensoni opened this issue · 2 comments
vigliensoni commented
For some reason, the val_acc
key is no longer being recognized in the Keras ModelCheckpoint and EarlyStopping callback. If used, no models are being generated and saved. It should be changed to val_accuracy
Reference: keras-team/keras#6104 (comment)
vigliensoni commented
The fix was incorporated in PR #20
vigliensoni commented
For some reason in Keras installed on my local computer (2.2.4) the available metrics are:
val_loss
,val_acc
, loss
and acc
In the one on Compute Canada (2.3.0), the metrics are:
val_accuracy
Actually, the code mentions both: