I am following the lecture 2 and unable to clean the images to improve my model’s performance.
cleaner = ImageClassifierCleaner(learn)
NameError: name ‘ImageClassifierCleaner’ is not defined
No function with ‘Cleaner’ shows up either.
Is there a new function for cleaning now?
Kornel
(Kornel Dylski)
2
it is not imported by default
you should import this manually from fastai.vision.widgets import *
keremnymn
(Kerem NAYMAN)
3
I can’t use it either, if you’ve found a solution can you please share it with us? @Kornel 's solution doesn’t work.
Try this:
import fastai
from fastai.vision.widgets import *
cleaner = ImageClassifierCleaner(learn,max_n=20)
cleaner
It doesnt work .
I am getting this error
name 'noops' is not defined