Learner Object Has No Attribute Predict

The Learner object is from basic_train.Learner yet I can’t call functions like predict() or show_results() on it. predict() and show_results() are both in the basic_train.py code and fast.ai documentation. Am I missing something? I am using the latest version of the fastai library and pytorch.

Check your conda enviromnent, it’s very likely you’re not using the library version you think.

1 Like