Closed adelabdelli closed 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()
There are many examples in for custom data training on Google.
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()