hyz-xmaster / VarifocalNet

VarifocalNet: An IoU-aware Dense Object Detector
Apache License 2.0
351 stars 52 forks source link

About applying Varfifocal to yolox objectness loss #31

Closed lucasjinreal closed 2 years ago

lucasjinreal commented 2 years ago

Hi, I applied vaerifocal loss to yolox objectness (also tried cls loss), all make AP massively drop, this seems abnormal. Do u have any idea why?

It seems the objloss decreased alittle bit, but cls loss get increased, (objloss: Varifocalloss, clsloss: BCELogits)

hyz-xmaster commented 2 years ago

Given your description, I think you may need to read our paper first to figure out what varifocal loss is and where to use it.

lucasjinreal commented 2 years ago

I have read your paper, I am not using objectness 0 or 1 as label, but iou based. I already give it up, useless in yolo like arch. I just wanna further investigate why.