Skip to content

PatchCore: Training only on good images and then inference on good and bad images #192

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

You must be logged in to vote

Setting the adaptive threshold parameter to false should be sufficient to prevent anomalib from computing the optimal threshold value based on the validation set. It will then use the entered values for the image_default and pixel_default parameters instead. The values of these parameters should be chosen by trial and error, and may vary between models and datasets.

Please note however that even when adaptive thresholding is disabled, Anomalib still expects some abnormal images to be provided. This is because by design, anomalib evaluates each model after training in order to present some performance metrics to the user. This design is based on the assumption that for any use case, there …

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
9 replies
@nixczhou
Comment options

@djdameln
Comment options

@nixczhou
Comment options

@djdameln
Comment options

@nixczhou
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@nixczhou
Comment options

@nixczhou
Comment options

@djdameln
Comment options

@nixczhou
Comment options

@djdameln
Comment options

Answer selected by djdameln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Enhancement New feature or request Pipeline
5 participants
Converted from issue

This discussion was converted from issue #124 on April 04, 2022 11:04.