classification-tf2 icon indicating copy to clipboard operation
classification-tf2 copied to clipboard

请问怎么保存验证集精度最高的权重呢

Open 11wswhl opened this issue 3 years ago • 4 comments
trafficstars

upyp,请问怎么保存验证集精度最高的权重呢.

11wswhl avatar Jun 29 '22 07:06 11wswhl

现在默认保存的是最佳loss的…

bubbliiiing avatar Jun 30 '22 15:06 bubbliiiing

upup,是不是调用tf.keras.callback.ModelCheckpoint 中把monitor调成val_vcc,savebest调成True就可以了啊

11wswhl avatar Jul 01 '22 11:07 11wswhl

理论上是可以

bubbliiiing avatar Jul 01 '22 14:07 bubbliiiing

好的 我试试

11wswhl avatar Jul 01 '22 14:07 11wswhl