Skip to content
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

关于generate_occupancy_nuscenes.py中的代码问题 #117

Open
Terryfic5 opened this issue Sep 1, 2024 · 1 comment
Open

关于generate_occupancy_nuscenes.py中的代码问题 #117

Terryfic5 opened this issue Sep 1, 2024 · 1 comment

Comments

@Terryfic5
Copy link

请问在generate_occupancy_nuscenes.py文件中,得到gt_bbox的yaw角时,为什么要加一个pi/2呢

“gt_bbox_3d[:, 6] += np.pi / 2.”

@Terryfic5
Copy link
Author

Terryfic5 commented Sep 1, 2024

是否是因为nuscenes数据集中,size的顺序为(w, l, h) ,而mmcv定义的points_in_boxes_cpu函数中size的顺序是与坐标顺序相同。如果按照point_in_boxes_cpu函数的要求,调整size的顺序,与上述加pi/2的效果应该相同吧:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant