YOLOX icon indicating copy to clipboard operation
YOLOX copied to clipboard

Is GIOU or DIOU or CIOU better than IOU?

Open ZhengMengbin opened this issue 3 years ago • 8 comments

As mentioned in title, have you used giou/diou/ciou to train yolox, and who is better?

ZhengMengbin avatar Feb 08 '22 08:02 ZhengMengbin

@ZhengMengbin , I think, this repo has support for iou and giou loss. By default, iou loss is used. https://github.com/Megvii-BaseDetection/YOLOX/blob/main/yolox/models/losses.py

BTW, where is it mentioned that giou/diou/ciou loss is used?

debapriyamaji avatar Feb 16 '22 06:02 debapriyamaji

I have used giou, ciou and eiou to train yolox-tiny. Unfortunately, no one is better than default iou loss and i found that the learning rate of them is significantly small. BTW, I will try increase the initial learning rate of them.

MengtianLee avatar Jun 05 '22 09:06 MengtianLee

How it work

GF1447571253 avatar Jun 07 '22 08:06 GF1447571253

what was the result of the experiment?

doctorchoco avatar Jul 03 '22 23:07 doctorchoco

It doesn't work by increasing the learning rate.

MengtianLee avatar Jul 05 '22 10:07 MengtianLee

It doesn't work by increasing the learning rate.

so the conclusion is CIOU /DIOU is not better than IOU loss in YOLOX ?

CarlHuangNuc avatar Jul 25 '22 07:07 CarlHuangNuc

After I use giou or siou, I get nan in iou loss and give me error 'Assertion input_val >= zero && input_val <= one failed.' How did you fix this error? @MengtianLee

wgq18 avatar Aug 26 '22 09:08 wgq18

Any update?

twmht avatar Sep 12 '23 14:09 twmht