OW-DETR icon indicating copy to clipboard operation
OW-DETR copied to clipboard

the bug in models/deformable_detr.py

Open Yifei-Y opened this issue 3 years ago • 2 comments

In the class SetCriterion forward function of models/deformable_detr.py, both of the nested for loops use i as the iteration variable (Line 530 and Line 543). And after the internal for loop ends, it still uses the variable i. Isn't this a bug? Could you explain this? bug

Yifei-Y avatar Oct 01 '22 13:10 Yifei-Y

And I found that this bug is the reason why the loss drops off a cliff at epoch=9 (when nc_loss is included). Is this your special design, or is it really a bug? I think this loss curve is very strange and there is no explanation in the paper. Untitled

Yifei-Y avatar Oct 01 '22 14:10 Yifei-Y

哈喽,我最近也在搞这个代码,你加我q咱俩交流一下578466096,我感觉这个代码好多问题

Arosy30 avatar Oct 08 '22 10:10 Arosy30

I have the same confusion

dengyuhai avatar Nov 28 '22 14:11 dengyuhai