Skip to content
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

Guidance on Threshold Setting for Accurate Defect Detection in Heatmap Visualizations (red mark) #20

Open
JunseokLee3 opened this issue Dec 28, 2023 · 1 comment

Comments

@JunseokLee3
Copy link

Thank you so much for your code in AND-APRIL-GAN. Thanks to your published code, I was able to study this field better and understand coding more deeply.

However, I have a question regarding visualization. In the visualization, I see that it uses a heatmap, and usually, defects are marked with a red mark. But in my case, due to incorrect threshold settings, not only the defects but also other parts are marked in red. Do you have any ideas on how to address this issue? Or what kind of values should I generally set for the threshold?"

@ByChelsea
Copy link
Owner

Hello, sorry for the late reply. Heatmaps are also quite common, for example in DRAEM, Uninformed Students, and UniAD. As for the appropriate threshold, in fact, I haven't done many experiments, but I think the threshold corresponding to the maximum F1 score might be suitable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants