multi-class-text-classification-cnn icon indicating copy to clipboard operation
multi-class-text-classification-cnn copied to clipboard

Accuracy on test set is {} based on the best model {} ?????????

Open lemo2012 opened this issue 7 years ago • 1 comments

In you codes, the accuracy on test set is based on the latest model after all the train step finished, not based on the best model saved in checkpoint. Am I right?

lemo2012 avatar Mar 06 '18 06:03 lemo2012

No. Please see step 6.2 in train.py

The variable ‘path’ is the path of best model. Not the latest model.

We assume the least validation loss model is the best model.

Please look forward about ‘validation based early stopping’.

changukshin avatar Mar 06 '18 08:03 changukshin