I’m having this problem too and I’m using the latest version of fastai (2.7.7). Most of the predefined metrics do not work for me. E.g., if I use mean_squared_error as
NameError: name ‘mean_squared_error’ is not defined
The same thing happens if I use mean_absolute_error or most of the other predefined metrics. But if I use exp_rmspe. It works fine.
Am I doing something wrong?