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

Some questions about the 3d detection in KITTI dataset #883

Open
wangx1996 opened this issue Mar 8, 2021 · 0 comments
Open

Some questions about the 3d detection in KITTI dataset #883

wangx1996 opened this issue Mar 8, 2021 · 0 comments

Comments

@wangx1996
Copy link

Hello, author:
Firstly ,thanks for this great work. When I read the code , I got some questions about the 3d detection part.
1.why the target which made for training doesn't use the trigonometric function to encode the angle offset?

          if alpha < np.pi / 6. or alpha > 5 * np.pi / 6.:
            rotbin[k, 0] = 1
            rotres[k, 0] = alpha - (-0.5 * np.pi)    
          if alpha > -np.pi / 6. or alpha < -5 * np.pi / 6.:
            rotbin[k, 1] = 1
            rotres[k, 1] = alpha - (0.5 * np.pi)

but the decode part still use actan2 to get the angle?

  idx = rot[:, 1] > rot[:, 5]
  alpha1 = np.arctan2(rot[:, 2], rot[:, 3]) + (-0.5 * np.pi)
  alpha2 = np.arctan2(rot[:, 6], rot[:, 7]) + ( 0.5 * np.pi)
  1. what's the use of the 'gt_det'?
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