-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
RuntimeError: Trying to create tensor with negative dimension #225
Comments
pls provide more info |
Caught RuntimeError in replica 0 on device 0. @zylo117 This happens when I set debug true while training. Otherwise it trains. |
Yet-Another-EfficientDet-Pytorch/utils/utils.py", line 107 can you debug on this line |
@zylo117 It happens only when the debug is True on larger models like d5, d6, d7. d0 is working fine with debug. The issue is also mentioned here. pytorch/vision#1705 I am using conda env with torch 1.4 and torchvision 0.5 |
Maybe there is a bug in nms function.
|
I added batched_nms function at utils/utils.py and it seems to be fine.
|
Tried with torchvision 0.5, 0.6
Also torch 1.4, 1.5
Can you tell me the problem ? It occurs in coco eval phase.
Also only happens with D7
The text was updated successfully, but these errors were encountered: