How to organize images for Deep Learning project?

Does anyone have any suggestions on how to organize an image based dataset?

I am in the process of writing code to extract many thousands of images in about a dozen different categories. I have many video files and I will write code to extract individual images that contain my desired features.

I’m looking for some suggestions on how to keep this organized?

I could simply put each image into an appropriately named directory.

I could also setup a light weight database to keep some information about each image and just give them unique random names.

Any help is appreciated


I would arrange the images in a similar manner to dogs-and-cats dataset. This would make it easier to feed an object classification algorithm using fastai code.

1 Like