ImageCleaner hanging in colab

Just ran ImageCleaner with command
ImageCleaner(ds, idxs, path)

this is on Google Colab

and it does generate well the .csv file apparently, but it hangs and doesn’t seem to come back at all, so I have to stop it manually (the .csv is generated though)

just raising this in case it’s a new issue

6 Likes

Same here.

5 Likes

For me as well… when I run ImageCleaner it gets stuck endlessly and does not render anything.

@javismiles which .csv ImageCleaner is generating for you?

3 Likes

hey, it’s one of the notebooks of part 1 v3, so it seems like this may be an issue indeed, thank you friends for sharing your own experiences

2 Likes

Hi All,

I am also facing facing same issue in colab.

Any solution for this.

Thanks and Regards,
Subho

1 Like

Google colab does not allow widgets.

See https://github.com/googlecolab/colabtools/issues/60 and ImageCleaner

5 Likes

If widgets don’t work in Colab, we can’t delete the images as the tutorial mentioned or would anyone know of a workaround?

You could just delete the images manually.

Try setting up a local Jupyter environment, connect it to your Google Drive and run the widget there. Take the generated .csv file and go back to Google Colab to complete Lesson 2. Found this workaround here: Image cleaner widget breaks google colaboratory?