Hello, I am trying to make my first model for image segmentation using unet_learner. When I execute the following code:
model = unet_learner(dls, resnet34)
model.fine_tune(3)
It throws an error: AttributeError: ‘DynamicUnet’ object has no attribute ‘fine_tune’. The same code works just fine on my PC locally, but fails when I try to run it in Jupyter Notebook. The configurations are the same, I have identical versions of torch and fastai installed everywhere. I have tried importing the learner like they do in the tutorials with either “from fastai.vision.learner import unet_learner” or
“from fastai.vision.all import *”. None of that helps and I really don’t know how else it could be fixed. If you have any ideas, I’d really appreciate it.