Recorder.plot_metrics() returns 'There are no metrics to plot.'

I am training a tabular learner (just a very simple model at the moment) as such
learn4 = tabular_learner(data_cont, layers=[2,1], metrics=[accuracy, AUROC()])
learn4.fit_one_cycle(10, 1e-1)

The output for fit_one_cycle shows the accuracy and AUROC being calculated as expected but the plot_metrics() returns
AssertionError: There are no metrics to plot.

Am I missing a callback? I thought metrics were automatically included in a callback by default.

I am using Fastai v1.0.60


Same error here with the latest version of FastAi. Please let us know if you find any workaround or any solution for this!

1 Like