-
Notifications
You must be signed in to change notification settings - Fork 377
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
changing point_cloud_range causes an error #573
Comments
Hi! I see that your issue is kinda new. When trying to train the nuscenes dataset you encountered an error "no specified protocol"? |
@atto-js Have you been able to figure out the problem? I am currently trying something similar |
@gerardmartin2 I just adjusted the voxel_size. |
@junsiknss Okey I see. Thanks for your reply! I will proceed this way then. By the way, is there a big drop in performance in your case? Just to know what to expect |
@gerardmartin2 For short distances (0~30m), I didn't notice any performance degradation. In my opinion, due to the nature of LIDAR, the distance between point and point reflected from a long distant object will increase significantly, so a small increase in voxel_size shouldn't have much impact, but I had no way to verify it. If you own a high-resolution lidar or use a solid state lidar, this would be an interesting experiment to try. |
@junsiknss Thank you! I have a couple of questions just in case you have already done it or you know something about it.
|
|
Hello.
I use secfpn/camera+lidar config.
I'm trying to replace point_cloud_range �to: [-72.0, -72.0, -11.0, 72.0, 72.0, -3.0]
(The original was [-54.0, 54.0, -5.0, -54.0, 54.0, 3.0])
I also modified xbound and ybound accordingly, as follows
xbound: [-72.0, 72.0, 0.3]
ybound: [-72.0, 72.0, 0.3]
And finally, since the point cloud range has changed from (54+54)(54+54) to (72+72)(72+72), we increased the grid_size as follows
heads:
object:
train_cfg:
grid_size: [1920, 1920, 41]
test_cfg:
grid_size: [1920, 1920, 41]
(original was [1440, 1440, 41])
But when I ran the training, I got RuntimeError:
Sizes of tensors must match except in dimension 1. Expected size 240 but got size 180 for tensor number 1 in the list.
My guess is that this is caused by the tensor sizes in the trained model not matching the configs, but how can I fix it?
The only way I found was to adjust the voxel_size in config, but the paper says there is a performance penalty when increasing voxel_size, so I'm looking for other ways.
Thanks.
The text was updated successfully, but these errors were encountered: