Accuracy drop after restarting kernel and loading model

The problem has also been mentioned here: Loading a saved model, but received no answer as far as I can see.

After opening new kernel, trainign the saved model for one epoch sort of gets model’s accuracy back, but that’s not really good solution at all.

@sgugger - how does saving filenames of validation set help to get the same accuracy levels? Regardless of that, if you want to deploy your model somewhere, you don’t necessarily want to bother with any data that was used to create it.

@tarvoc - did you manage to solve this just with commands suggested by sgugger?

Does anyone know if this problem lies on the Pytorch side or is it fastai thing?