ZrrSkywalker / MonoDETR

[ICCV 2023] The first DETR model for monocular 3D object detection with depth-guided transformer
347 stars 30 forks source link

AssertionError after 95 epochs #50

Open tantian1498 opened 10 months ago

tantian1498 commented 10 months ago

File "D:\code\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 "D:\code\MonoDETR\utils\box_ops.py", line 62, in generalized_box_iou assert (boxes1[:, 2:] >= boxes1[:, :2]).all() AssertionError epochs: 48%

I set batchsize to 8,GPU is 4060ti 16G

Ivan-Tang-3D commented 10 months ago

When trying the experiments, the decrease of the batch size would lead to the collapse of the training(The problem of DETR-Like Model). Better to keep or moderately decrease the size.