ImageClassifierCleaner does not load the widgets

I am continuing from my first lesson of bird_or_forest and following along the second lesson on fastbook. I am trying to run the following cell:

cleaner = ImageClassifierCleaner (learn)
cleaner

Where learn is of type vision_learner
The output is stuck with a message

Loading widget…

There are no dropdown boxes to allow me to edit or delete.
Also, the images are printed in column not horizontal.
I am on Kaggel and I am on Firefox browser on Mac, if that matters.

3 Likes

Same issue, any suggestions ? have you got it resolved ?

Nope. That is still an open issue. There are some reports about this. My understanding so far is that it has got to do with ipywidgets. As suggested here, I tried to upgrade ipywidgets, and I got an incompatibility error.
This issue is discussed here too. But, no solution.
Please update this issue if have this resolved.

It seems to be working on Google Colab.

1 Like

Mine outputs like this:

KeyError Traceback (most recent call last)
File ~/miniconda3/envs/fastbook/lib/python3.10/site-packages/PIL/JpegImagePlugin.py:639, in _save(im, fp, filename)
638 try:
→ 639 rawmode = RAWMODE[im.mode]
640 except KeyError as e:

Anything useful?

2 Likes