Lesson 1: File structure in train folder in \dogscats\

(Yog Mehta) #1

I am trying to make my own model based on the one in Lesson 1, with all the training and validation folders & file structure.

What I’m confused about is: do I have to label the folders in the train directory?
For example, if I have images of bears and penguins, do I create bear and penguin folders and store the relevant images in them? Or do I that just for my valid folder?

(Sam Lloyd) #2

You do! see my folder structure for train in CIFAR-10.

Alternatively you can use a csv for the labels (see the planet notebook for this)

(Yog Mehta) #3