![]() |
Hello, I want to build a CNN with TensorFlow, I want to load the data with image_dataset_from_directory, and I have the labels, a list of numbers from 0 to 3, so I expect to TensorFlow tell me that it found N images and 4 classes, but I show me that it found 321 classes. The labels list is like: [0, 3, 1, 1, … , 2, 0, 0] So, I don’t know if I should modify the list format o distribution, or add another parameter in image_dataset_from_directory, if someone can help me please 🙁 submitted by /u/Current_Falcon_3187 |
Categories
Problem with the classes founded in image_dataset_from_directory
![](http://databloom.com/wp-content/uploads/2022/06/idBaQg5W32P1zKBlrO8ANCx3Zii9XM9gTrlSIvArMUI-g4WtZg.jpeg.pagespeed.ce.wn1MPnLcZC.jpg)