why use negative no_w_metric and w_metric?
Closed this issue · 1 comments
liwd190019 commented
Why do you use negative no_w_metric and w_metric instead of the postive ones?
YuxinWenRick commented
Hi, @liwd190019, thanks for asking. It's a good question. For preds
that we pass to metrics.roc_curve
is the confidence score of being watermarked. If it's a watermarked image, this score should be larger. We negate it, since our metric is the distance, and we know that the distance is smaller for the watermarked images.
Let me know if you have further questions!