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
for issue#339 #655
for issue#339 #655
Conversation
maybe an augmentation cause the target tensor become empty( tensor([ ]) ) , my solution is comment the Affine out so that the bug will be fixed
But the |
thanks for your advices,. I checked my datasets and I found that the images cause the problem have some short-distance boxes so I tryed change the param of translate_percent from (-0.2,0.2) to (-0.05 to 0.05) and the problem also got fixed. |
Ah okay, this seems to speak for the thesis that we convert these ones to negative samples by moving the box out of the image. Thank you for your troubleshooting. Now we need to fix the issue that training fails at negative samples. Could you provide a complete stack trace of the error in the target building? The one in the issue is a bit short and outdated. |
I ran a few trials and I was not able to reproduce this issue with the current master. I indeed get a |
sorry for late. I tried to get the orignal stack trace but maybe because I update my pytorch so the Traceback become this ( as follow): Traceback (most recent call last): |
Did you modify any parts of the code or the |
thanks for your advice. I checked my code and I run my task again. And here is the stack trace for the issue :targets: tensor([], device='cuda:0', size=(0, 6)) imgs: tensor([[[[0.0000, 0.0000, 0.0000, ..., 0.9412, 0.9882, 0.9882],
|
Thank you for your detailed information! It seems like your code is not up to date. Could you provide the commit hash of your |
This PR on the other hand seems up to date. |
thanks ! the commit hash is 24381e5 which is 11 days ago . the code seems out of date. and i'll update my code. thanks again !!! |
Commit |
The stack trace shows a state previous to #646. |
maybe an augmentation cause the target tensor become empty( tensor([ ]) ) , my solution is comment the Affine out so that the bug will be fixed
Closes #339