Cannot load saved model

(Irshad M) #1

I am trying to load a saved model as was shown in the videos, but getting an error that I don’t understand. Please have a look at the screenshot:

I am using resnet34 model: learn = create_cnn(data, models.resnet34

Am I doing something wrong?

(Irshad M) #2

I found the reason for this error. Apparently, using KappaScore as a metric is causing this. I tried different permutations of various metrics, and found that this error exists only when I use KappaScore as one of the metrics.

This is a bug that may need a fix!