'ImageClassifierCleaner' is not defined

Good night everybody!
why my ‘cleaner’ doesn’t work with my model train? it say that ‘ImageClassifierCleaner’ is not defined.

1 Like

Possibly missing the widget import?

from fastai.vision.widgets import *

20 Likes

thanks, @AllenK ! it worked

I faced the same problem recently I fixed it by adding both:
“from fastai.vision.widgets import *”
“from fastai.vision.widgets import ImageClassifierCleaner”
and it worked!.