You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Whether the anomaly image will be involved in the validation process #1777
Hello, I would like to ask whether the anomaly image will be involved in the validation process during training if the default parameter in config is followed, that is, whether there is anomaly data in the validation set.
test_split_mode: from_dir # options: [from_dir, synthetic]
test_split_ratio: 0.2 # fraction of train images held out testing (usage depends on test_split_mode)
val_split_mode: same_as_test # options: [same_as_test, from_test, synthetic]
val_split_ratio: 0.5 # fraction of train/test images held out for validation (usage depends on val_split_mode)
Hi @1094558673
Yes, anomalous images are used for validation and evaluation but never for training.
If you would like to know more about how train/test/val images are used in anomalib see this comment : #1067 (comment)
Activity
rajeshgangireddy commentedon May 12, 2025
Hi @1094558673
Yes, anomalous images are used for validation and evaluation but never for training.
If you would like to know more about how train/test/val images are used in anomalib see this comment :
#1067 (comment)