What will be the approach at that time ?
What i could think of was …
- Create empty folders for each class[ train_gen.indices.keys() ]
- Load data in small batches that will and put the images in appropriate folders
Then use an ImageDataGenerator object to send the data to fit_generator function
Kindly correct my approach if it is not the best approach