Skip to content
Discussion options

You must be logged in to vote

Hello. I'm not sure if this is supported with the code as-is, since you are treating the problem as classification but want segmentation results. Maybe the others can help.
I believe that in your situation, there are models that could work, the ones that don't do any optimization, like PaDiM, but even there without GT mask you have hardly any way of telling how good the result is, and additionally some model smight not really work well if you don't train for the task of segmentation.

In any case, you can get mask from heatmap by doing heat_map > threshold, where threshold is, I believe, 0.5 if your heatmaps are normalized or you can get pixel_threshold from trainer.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by samet-akcay
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1211 on August 04, 2023 11:44.