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

Why do I need to do a transpose in Anchor 3D head #71

Open
chr10003566 opened this issue Oct 23, 2023 · 1 comment
Open

Why do I need to do a transpose in Anchor 3D head #71

chr10003566 opened this issue Oct 23, 2023 · 1 comment

Comments

@chr10003566
Copy link

image

When I try to set the is_transpose false. the result is error.

I don't know, I guess it may be related to the size order of the anchor. When I change the anchor size to

sizes=[
                [2.5981, 0.8660,  1.],  # 1.5/sqrt(3)
                [1.7321, 0.5774,  1.],  # 1/sqrt(3)
                [1., 1., 1.],
                [0.4, 0.4, 1],
            ],

I am Still unable to obtain correct results.

@zyh321
Copy link

zyh321 commented Dec 13, 2024

你好, 请问你弄明白这个问题了吗?
应该不只是anchor顺序的问题, 在进入bbox_head之前, 特征的形状是: [n, c, n_x, n_y], 我觉得是因为作者觉得 n_x 对应W, n_y对应H? 所以做了transpose.

我不理解的是, 从雷达坐标系上, x正方向是向前的, y正方向是向左的, n_x就正好对应H, n_y就正好对应W
为什么要改呢

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