titu1994 / DenseNet

DenseNet implementation in Keras
MIT License
707 stars 294 forks source link

How to upload my own dataset instead of the Cifar10 dataset #55

Closed adelabdelli closed 5 years ago

adelabdelli commented 5 years ago

I have a dataset organised into folders like this: `-Training_Set --Class1 --img1.jpg --img2.jpg .. --Class2 --img101.jpg --img102.jpg .. --Class3 --img201.jpg --img202.jpg

-Test_Set --Class1 --img10.jpg --img11.jpg .. --Class2 --img150.jpg --img140.jpg .. --Class3 --img210.jpg --img220.jpg`

and i want to upload the dataset, instead of the Cifar10 dataset in this line of code using Keras (Python) :

(trainX, trainY), (testX, testY) = cifar10.load_data()

titu1994 commented 5 years ago

There are many examples in for custom data training on Google.