Regarding Image data generator in Keras

i want to ask if image data generator from keras library can be used for only classification problems.What if i have a large dataset of 45K images and this is not a classification problem as i have labels for each image.So now how how to use data generator in this case

hey @amankharb ,
in this case you need to create a custom data generator , in which its you who decides how and which data to be read in what manner and what should it give as output to be used for training.

Have a look at custom data generators in keras.

I hope this would have helped you.
Thank You :slightly_smiling_face:.

ok but am i correct that image data generator from keras can be used only for image_classification task only

yeah ,
the Keras ImageDataGenerator is just for classification only.