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

box3d的维度(x,y,z,l,w,h,alpha) #33

Open
XiaoyanQian opened this issue Oct 12, 2021 · 2 comments
Open

box3d的维度(x,y,z,l,w,h,alpha) #33

XiaoyanQian opened this issue Oct 12, 2021 · 2 comments

Comments

@XiaoyanQian
Copy link

XiaoyanQian commented Oct 12, 2021

您好,请问在cal_iou里面,定义box3d的维度(x,y,z,w,h,l,alpha),请问这里x是跟w对应的吗?y跟h对应?z跟l对应?因为通常来说,x是跟l对应的,y对应w, z对应h.

    box3d1 (torch.Tensor): (B, N, 3+3+1),  (x,y,z,l,w,h,alpha)
    box3d2 (torch.Tensor): (B, N, 3+3+1),  (x,y,z,l,w,h,alpha)
@lilanxiao
Copy link
Owner

lilanxiao commented Oct 12, 2021

你好,这里x,y,z 分别与l,w,h对应。即三个纬度的顺序相同。
不过我的注释确实写的太随意了一点。更清楚的表示应该是:(x, y, z, size_x, siez_y, size_z, rotation_z)

@XiaoyanQian
Copy link
Author

谢谢你的回复,那这个(x,y,z,w,h,l,alpha),应该只是注释的笔误,其实代码依然是(x,y,z,l,w,h,alpha), l 对应x吧。

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

2 participants