MonoDETR
MonoDETR copied to clipboard
When the batch size is set to 4, the learned object queries would become nan at about 40 epochs.
Thank you for providing the code
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设置的小时,就会出现这样的问题