Hello,
I got below error when running tabular notebook
NameError Traceback (most recent call last)
in
----> 1 learn = tabular_learner(data, layers=[200,100], metrics=accuracy)
2 learn.fit(1, 1e-2)NameError: name ‘tabular_learner’ is not defined
Hello,
I got below error when running tabular notebook
NameError Traceback (most recent call last)
in
----> 1 learn = tabular_learner(data, layers=[200,100], metrics=accuracy)
2 learn.fit(1, 1e-2)NameError: name ‘tabular_learner’ is not defined
I’ll have a stab at this - what version of fastai are you using?
until recently this function was called ‘get_tabular_learner’, perhaps try that. Otherwise (and probably better) upgrade fastai so the version you have matches the docs
Note: Am a beginner so this may be incorrect
Hello,
Thank you for your commenting. You are right. I am using outdated version. Since I am using Fastai v1 template in Paperspace, I don’t know how to update to latest version
I can only think of two suggestions, (sorry I don’t know anything about paper space)
find an older version of the notebook on GitHub?
Or adapt the code to the old structure.
Good luck!