Notebook showing different things from the lecture

Hi guys I am going through lesson 2, up to the part of Data cleaning, in the lesson the “FileDeleter” app is being used but in the notebook it is using something totally different, and it is causing me to have a hard time understanding, especially with the new codes added to that part. Why is this happening? Is the notebook being updated as new lessons are being taught but not have the video released yet?

Like:
db = (ImageList.from_folder(path)
.split_none()
.label_from_folder()
.transform(get_transforms(), size=224)
.databunch()
)

ds, idxs = DatasetFormatter().from_toplosses(learn_cln)
etc.

Hi bclc0597 hope you are well!

The answer to your question is yes! The code changes fast, the videos are were made at the time of previous versions.

You use them as a guide. If there is something you don’t understand you should look in the docs where there are examples. If you go here https://docs.fast.ai/data_block.html you will find the string “(ImageList.from_folder(path)” in the page and more information.

Cheers mrfabulous1 :smiley::smiley: