Create Custom Dataset Fastai v2

Hi All
I apologize if this seems like a rookie question. But i’ve been trying to figure out how to make a custom dataset using Fastai v2. Any idea? I was thinking i could scrape google images based on my classes. But not sure if that would be a good solution.

I Want to know if fastai2 has any helper functions that could help me quickly make a dataset and filter through it to remove any images not belonging to the said class.

Will be grateful for any help.
Thanks

1 Like

Sorry i should mention i’m making a dataset for an image classifier.

There is an example of doing just that in the Lesson 2 notebook
You can also see it in the video at around 1:15 mark: https://course.fast.ai/videos/?lesson=2

1 Like

Thanks so much. Ill do that.

You might also want to have a look at https://joedockrill.github.io/blog/projects/imagescraper/ which is a scraper for DuckDuckGo.

2 Likes

Thanks. i’ll check it out too :smiley: