megvii-model / YOLOF

MIT License
809 stars 115 forks source link

How to understand the calculation process of normalized_cls_score? #44

Open linklist2 opened 2 years ago

linklist2 commented 2 years ago

I did not understand this code, can anyone help me understand this code? image

ytoon commented 2 years ago

In our mehtod, the final class score output is sigmoid(cls_score)sigmoid(objectness). For the sake of simplicity, we use sigmoid(normalized class score) as the final class score output. These two outputs is equal: sigmoid(normalized class score) = sigmoid(cls_score)sigmoid(objectness). You can check this equation by yourself.

maxenceliu commented 2 years ago

I did not understand this code, can anyone help me understand this code? image

Have you ever make clear what does this equation mean? I can't understand this either. It seems complicate and meaningless...

linklist2 commented 2 years ago

I did not understand this code, can anyone help me understand this code? image

Have you ever make clear what does this equation mean? I can't understand this either. It seems complicate and meaningless...

image Please refer to this picture

maxenceliu commented 2 years ago

I did not understand this code, can anyone help me understand this code? image

Have you ever make clear what does this equation mean? I can't understand this either. It seems complicate and meaningless...

image Please refer to this picture

Thx!