How can I train and test on a dataset with training, validation and testing set in file ? #723
-
Hi, I am trying to train a dataset for anomaly detection. My data file structure is basically same as with Keras's ImageDataGenerator: One train, val and test set, each have folders of each class (here is normal and abnormal). However I have noticed that in the example on the main page in github you had this:
I have noticed that there is only normal_test_dir and not abnormal_test_dir. May I ask how can I do this then ? Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@dangmanhtruong1995, it is because anomaly tasks do not need One of the limitations of the |
Beta Was this translation helpful? Give feedback.
@dangmanhtruong1995, it is because anomaly tasks do not need
abnormal
images during training, but onlynormal
images. In this case, anyabnormal
images will be part of the test directory.One of the limitations of the
Folder
dataset format is that it is missingvalidation
path support. It always creates the validation set by splitting the test set. We could perhaps consider adding option so you could use your own validation set.