FileDeleter Troubles

I am trying to run FileDeleter however it is telling me that ‘FileDeleter’ is not defined. I am using colab, attached is a screenshot of my notebook. I appreciate any help.

Thank you!!!
Zach

4 Likes

Hi other Zach,

FileDeleter was removed in the latest version of Fastai. You can see the updated APIs here

2 Likes

Thank you other, other Zach!!!

1 Like

Hey Zach, when I run ds, idxs = DatasetFormatter().from_toplosses(learn, ds_type=DatasetType.Train) everything works fine. However, when I try to run ImageDeleter(ds, idxs), my runtime essentially quits on me. I am in google colab. Any advice?

Thanks!

1 Like

As explained in this thread, colab does not support widgets.

1 Like