更新时间:2023-12-02 17:19:40
如果您想保存最高准确度,那么您应该设置检查点 monitor='val_acc'
它会自动保存在最高准确度.最低损失不一定对应最高准确度.您还可以设置 verbose=1
以查看正在保存的模型以及原因.
If you would like to save the highest accuracy then you should set the checkpoint monitor='val_acc'
it will automatically save on highest. Lowest loss might not necessarily correspond to highest accuracy. You can also set verbose=1
to see which model is being saved and why.