Then you can get training and validation loss for each epoch.
You can see an example https://github.com/adriangrepo/my_fastai/blob/master/dl2/translate.ipynb just before the Test section heading where I plot these to get a feel for how things are progressing.
Thank you for the reply. Unfortunately, this isn’t working for me. It seems learn.fit doesn’t accept that as an argument. The fit function appears to be:
def fit(self, n_epoch, lr=None, wd=None, cbs=None, reset_opt=False):
with self.added_cbs(cbs):
if reset_opt or not self.opt: self.create_opt()
if wd is None: wd = self.wd
if wd is not None: self.opt.set_hypers(wd=wd)
self.opt.set_hypers(lr=self.lr if lr is None else lr)
self.n_epoch = n_epoch
self._with_events(self._do_fit, 'fit', CancelFitException, self._end_cleanup)
Upon checking your linked github, the notebook does not load. I get the following.
Download the whole repository and navigate to that specific file and check the code, because i can’t upload the .ipynb file directly here, and you will find what you need
or maybe this helps (This is a code snippet from the repository. - line 111)