tdeboissiere / DeepLearningImplementations

Implementation of recent Deep Learning papers
MIT License
1.81k stars 652 forks source link

How to load my local dataset instead of the Cifar10 dataset and feed it to the DenseNet #88

Open adelabdelli opened 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()