FileDeleter throwing a NameError

Hi.

I am going through Lesson 2 and the FileDeleter is throwing the following error:

NameError                                 Traceback (most recent call last)
<ipython-input-21-3aa0f8c62d87> in <module>()
----> 1 fd = FileDeleter(file_paths=top_loss_paths)

NameError: name 'FileDeleter' is not defined

I saw that FileDeleter is deprecated and is replaced with ImageDeleter/ImageRelabeler. How would I implement the logic in the videp with the new code? The structure seems to be different between the two.

1 Like