NameError in lesson1


(Andrew) #1

I believe I’ve followed all the instructions in setting up my environment, but I’m getting the following errors when trying to run the code in Jupyter:

I’m getting this NameError in multiple locations throughout lesson1.

I’ve run conda env update and source activate fastai.


(Om Prakash) #2

Even I’m experiencing the same Issue. did you find any fix ?


(Andrew) #3

Yes, my problem was simple: I hadn’t run all the preceding cells, so resnet34 was undefined. Go to the beginning of the notebook and run each cell. This should fix your problem.


(Om Prakash) #4

Thanks a lot :slight_smile: