learn = cnn_learner(data, models.resnet34, metrics=error_rate)
I want to load the model with the file I have dowloaded from the website,
but I don’t konw whether the cnn_learner function has a parameter to set the file path
learn = cnn_learner(data, models.resnet34, metrics=error_rate)
I want to load the model with the file I have dowloaded from the website,
but I don’t konw whether the cnn_learner function has a parameter to set the file path
cnn_learner has no parameter to set the file path. You have to import the state_dict after creating the learner.