joa24jm
(Hannes)
June 9, 2021, 4:07pm
1
Dear community
On the colab notebook 04_Segmentation.ipynb I get the NameError
name 'unet_config' is not defined
.
I do from fastai.vision.all import *
and from fastai import *
- both not successful.
How can I get to know where this function is defined?
How can I import it?
I already found this which is obviously not the function I need.
muellerzr
(Zachary Mueller)
June 9, 2021, 4:49pm
2
Looks like you might be pulling my notebooks from the muellerzr/Practical-Deep-Learning-For-Coders-2 repo. You should instead look at the notebooks on https://walkwithfastai.com , and this lesson is Lesson 4 - Image Segmentation | walkwithfastai
It has an updated version not using unet config
(To answer though, unet config doesn’t exist anymore, just pass in those params to unet_learner
)
2 Likes
nikem
(Niyazi Kemer)
March 11, 2022, 10:35pm
3
Looks like the same thing happens in Lesson 7 but as you said passing those parameters in the learner solves the problem.
by the way, thanks for the lessons they are great.