This might be a noob question, but I have searched different threads but am unable to resolve this issue.
In the cell where we train the model, i.e. (learn = ConvLearner(data, models.resnet34, metrics=error_rate) getting an error that AttributeError: module ‘fastai.vision.models’ has no attribute ‘resnet34’.
Code was run at 12:01pm gmt.
This is what I have unsuccessfully tried till now:
- Re-updated all libraries
- command conda list shows me that my fastai version is 1.0.6
- I could be wrong but on github link–> github I can see that import code for models might not be correct. Original code is from . import models but should it be from .core import models?