-
Notifications
You must be signed in to change notification settings - Fork 72
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
shape not match #34
Comments
hei, i meet the same problem, do you sloved it ? |
Did u solve the problem? |
Did u solve the problem? |
@seefun hello, have you solved the problem? i met the same problem. |
@xxlei Hi, have you solved it, i met the same problem, thanks |
@abcdvzz @Tianlock I give up using this codes. And I try to use the official pyramidbox codes which you can find in PaddlePaddle/models |
I think this repo is modified on the pytorch version of SSD, the original repo has the related issue. All you need is to change few lines of code in |
PyramidBox/layers/modules/multibox_loss.py", line 105, in forward
loss_c[pos] = 0 # filter out pos boxes for now
RuntimeError: The shape of the mask [4, 34125] at index 0 does not match the shape of the indexed tensor [136500, 1] at index 0
I set the batchsize to 4 and I use my own dataset. When i run train.py I occur this problem. why does it happen?
The text was updated successfully, but these errors were encountered: