-
Notifications
You must be signed in to change notification settings - Fork 442
Suggest to enrich the function family for image_dataset_from_directory #299
Comments
Hello, |
@Dref360 Thank you! Shoud I expect feedback on this issue page or somewhere else? |
Yes I will report back on this issue. |
For your particular issue: You can get all the information from dataset_utils.index_directory. I know this is not ideal. |
From the Keras SIG: In addition, I submitted an issue on your behalf on the Tensorflow Github. I can make the change pretty easily, but I want to be sure that the design will be accepted. tensorflow/tensorflow#40203 |
Thanks for your update. For your submission on TF Github: |
HI, I'm a researcher and have been using keras (with tf backend) for a long time. ImageDataGenerator.flow_from_directory has been my favourite method due to my data size. However, I feel that Dataset is recommended more than Generator method after tf2.x and keras also have image_dataset_from_directory function in tf.keras.preprocessing. So I switched to Dataset but met some inconvenience. For example, I can't find similar functions like previous test_gen.filenames and test_gen.class , which brought me some difficulty when I tried to match my predictions and file names. I finally managed it but not as neat as build-in functions like .filename.
Does the team have plan to enrich the functions? It would be very helpful. Thank you!
The text was updated successfully, but these errors were encountered: