Skip to content
Discussion options

You must be logged in to vote

In the current version of Anomalib (v0.3.7), the Folder dataset format always requires that a folder of abnormal/anomalous images is provided in dataset.abnormal_dir. These images are used during validation to compute the optimal threshold value, and during testing to rate the performance of the trained model.

By placing normal images to the abnormal_dir folder, you circumvent the checks that prevent Anomalib from running without abnormal images. This workaround is effective, but please be aware that the optimal threshold value, as well as any evaluation metrics computed during testing, would be meaningless, because incorrect ground truth labels are assigned to the images found in bad/. S…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ntdgo
Comment options

You must be logged in to vote
4 replies
@djdameln
Comment options

@ntdgo
Comment options

@SebastienThibert
Comment options

@djdameln
Comment options

Comment options

You must be logged in to vote
2 replies
@djdameln
Comment options

@arkerman
Comment options

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

This discussion was converted from issue #799 on December 20, 2022 14:57.