MonoDETR icon indicating copy to clipboard operation
MonoDETR copied to clipboard

When the batch size is set to 4, the learned object queries would become nan at about 40 epochs.

Open jichaofeng opened this issue 2 years ago • 1 comments

Thank you for providing the code

jichaofeng avatar Jun 09 '22 03:06 jichaofeng

File "/MonoDETR/lib/models/monodetr/matcher.py", line 83, in forward │··················································· cost_giou = -generalized_box_iou(box_cxcylrtb_to_xyxy(out_bbox), box_cxcylrtb_to_xyxy(tgt_bbox)) │··················································· File "/MonoDETR/utils/box_ops.py", line 62, in generalized_box_iou │··················································· assert (boxes1[:, 2:] >= boxes1[:, :2]).all() 当batchsize设置的小时,就会出现这样的问题

aqr1961 avatar Sep 21 '23 03:09 aqr1961