Getting loss and accuracy for model

Hi all, I was training the classifier for awd-lstm on colab. it was running the fit_one_cycle for 100 epochs saving the best model with the callback. But colab did that weird thing where it got Buffered data was truncated after reaching the output size limit. which means, as I understand it, the cell continues to run it just doesn’t display anything. So I have no idea what the final loss and accuracy was. Is there a way to retreive this from the model?
TIA Randy

1 Like

I am also facing the same problem. Have you been able to find a solution to it yet?

@Rohitagarwal257 you can do learn.validate() and this will quickly run through your validation set and report back the accuracy and loss