Fastai.vision import * -> name 'learner' is not defined

While trying to run my code in Spyder I get an error on the import vision

from fastai.vision import *;

This is the last message of trace:

File “C:\Users\Weegree\Anaconda3\lib\site-packages\fastai\vision_init_.py”, line 12, in
all = [*basics.all, *learner.all, *data.all, *image.all, *transform.all, *tta.all, ‘models’, ‘vision’]
NameError: name ‘learner’ is not defined

1 Like