How to print training set accuracy per epoch while using fastai library?

Hi,
I notice that we can see the losses of both training set and validation set but we can only see the accuracy of validation set.


I found it also helpful to look at the train set accuracy while training. Is it possible to print the training set accuray per epoch using fastai library?

Thanks
Charles

4 Likes