'Conv_Learner' is not defined

In the lecture video, Jeremy has used
learn = Conv_Learner(data, models.resnet34, metrics = accuracy)
But I am getting an error on that Conv_Learner is not defined. I have imported everything from fastai and fastai.vision modules. Although create_cnn and cnn_learner is working fine.

There is no Conv_Learner anymore. cnn_learner does exactly what you are looking for. Some videos may show old syntax. The notebooks should be up to date tho.


I saw some notebooks in the github repo but they are still using ConvLearner

You are probably reading the legacy repo.

1 Like

Yeah right! Thank you