Anomalib image_threshold with recall=1 #2642
Unanswered
mohamed-s7
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in anomalib PaDiM, model.image_threshold = 88.8 for the best F1 score.
but I want the recall = 1 even if I lose a little bit in precision, so I want recall = 1 and maximise the precision.
how can I find that threshold?
using just pred_scores that are between 0 and 1, and labels the threshold that I am getting is 0.4 (value between 0 and 1) but manually I found the threshold that makes the recall = 1 and maximaizes the precision is 77.8
Beta Was this translation helpful? Give feedback.
All reactions