1
$\begingroup$

How we can use Imagedatagenerator to produce images if we have a folder with a name "train" which contain all the images of every classification( folder contains mixed images). And we have one csv file with an name "train.csv" that contains which images belongs to which label??

New contributor
Reyhan R is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$

put on hold as off-topic by John Doucette, Manuel Rodriguez, Clement Hui, nbro, Oliver Mason 15 hours ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about artificial intelligence, within the scope defined in the help center." – John Doucette, Manuel Rodriguez, Clement Hui, nbro, Oliver Mason
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Hi, try making your title a bit more informative next time line "How can I use keras ImageDataGenerator with data from csv". To answer your question: you can't! Try using tf.data.Dataset.from_tensor_slices() instead. $\endgroup$ – Djib2011 Nov 9 at 6:29