-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get final result with new test image #15
Comments
Yes, during inference/validation the paper uses the Density Estimation to detect anomalous data. During training the whole model, the part that is used as a feature extractor plus a model head, is trained on the cutpast classification proxy task. So the classification output is only used as a proxy task to train the model. |
can you please tell me how to calculate that threshold, i don't see it in your code. |
I answered a similar question here: Another Paper by Ripple et al. which Li et. al reference use a probabilistic perspective of calculating thresholds: https://github.com/ORippler/gaussian-ad-mvtec/blob/a2e15800f0087fc7b965e491c53a73f8c7480d1e/src/gaussian/model.py#L152 |
Hi,
I am confusing about how to determine if an image is anomalous or not because model has two output: classification prediction and GDE scores.
Should I use a threshold for GDE scores to check and ignore model prediction ?
Thank you for your work and your reply :)
The text was updated successfully, but these errors were encountered: