Missing API even after did conda install for fastai

(Curious Learner ) #1

I’m using 02a_why_sqrt5.ipynb and sometimes it says

NameError: name 'datasets' is not defined for datasets.download_data

NameError: name 'nn' is not defined for l1 = nn.Conv2d(1, nh, 5)

fater I added from exp.nb_01 import * datasets started working. I don’t get this. Please help me this weird behavior. I think on my end installation is proper…since it’s too easy with conda

0 Likes

(Curious Learner ) #2

ohh I fixed. I modified the code in .ipynb files & so the exp exports changes. Since the exports weren’t proper…hence missing API

0 Likes