-
Notifications
You must be signed in to change notification settings - Fork 97
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: Sizes of tensors must match except in dimension 2. Got 316 and 313 (The offending index is 0 #68
Comments
Hello, @kihoon71, which line causes the error ? |
Instead of my team mate, i did upload this issue. He must know better about this issue than me, so i will mention him here. |
Hi, I'm the one who asked for it. The error occures in line 181 of pointpillars.py. I'll put total error message below. Traceback (most recent call last): |
Hi, @fb059 , could you help to provide your config for PointPillars/model/pointpillars.py Line 179 in 57af3f5
|
voxel_size is and point_cloud_range is And when I print(xi.size()) in pointpillars.py, the output is |
Hi, so how 316 and 313 are generated, when your x_i.size() is |
Sorry, my mistake.
and after that change RuntimeError: Sizes of tensors must match except in dimension 2. Got 316 and 313 (The offending index is 0) no longer occurs. Traceback (most recent call last): |
Hi @fb059, it seems there are no elements in tensor PointPillars/model/pointpillars.py Line 76 in 57af3f5
and PointPillars/model/pointpillars.py Line 91 in 57af3f5
|
Hi, @zhulf0804 point_cloud_range=[-39.9442, -39.7883, -2.3986, 39.8011, 39.8065, 6.9456], And as you recommanded, I checked features.size() torch.Size([583, 64, 9])
|
Hi @fb059, as the final feature'size is [0, 64, 9], it seems that the data is abnormal. Please help check it. Thanks. |
Hi. I'm trying to use custom dataset with your model.
I've changed few codes where I think I have to, like
point_cloud_range, classes, etc.
When I run the command
python train.py --data_root own_data
I get error message below.
RuntimeError: Sizes of tensors must match except in dimension 2. Got 316 and 313 (The offending index is 0)
can I get any help?
The text was updated successfully, but these errors were encountered: