Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError after 95 epochs #50

Open
tantian1498 opened this issue Dec 16, 2023 · 1 comment
Open

AssertionError after 95 epochs #50

tantian1498 opened this issue Dec 16, 2023 · 1 comment

Comments

@tantian1498
Copy link

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants