HumanRefiner icon indicating copy to clipboard operation
HumanRefiner copied to clipboard

About BCEloss with abnormal score

Open hanwenxu1 opened this issue 1 year ago • 1 comments

I have know that we can calculate the abnormal scores by the number of abnormal blocks. But I notice that a sigmoid layer and binary cross-entropy been used in the model. Is there any dismatch between the linear score and a binary loss?

Thanks for your reply!

hanwenxu1 avatar Jul 15 '24 09:07 hanwenxu1

The paper states that "Images assigned with abnormal labels are positive samples while normal ones are negative samples.", and the score is in range of [0, 1]. So, it's a binary classification task in fact. But the author said that the number of abnormal bounding boxes as the score, I feel confused ...

ziyye avatar Aug 06 '24 13:08 ziyye