Skip to content

Question regards to train/val/test split #761

Answered by djdameln
seanko29 asked this question in Q&A
Discussion options

You must be logged in to vote

If I put the split_ratio into null and specify abnormal_dir and normal_test_dir separately and make create_validation_set as true, will the library automatically get 50% of validation from abnormal_dir and normal_test_dir??

Yes, when create_validation_set is set to true, the evaluation images will be divided equally (50%) into a validation set and a test set which are mutually exclusive. When set to false, the test set and the validation set will both contain the same images.

I do not want the model to get the split from the train data into the validation or test set.

The settings you mentioned should achieve this. Whenever a normal_test_dir is specified, the normal images for evaluat…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@seanko29
Comment options

@seanko29
Comment options

@djdameln
Comment options

Answer selected by seanko29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #759 on December 05, 2022 12:22.