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

Anchor3DRangeGenerator #1720

Closed
holtvogt opened this issue Aug 10, 2022 · 4 comments
Closed

Anchor3DRangeGenerator #1720

holtvogt opened this issue Aug 10, 2022 · 4 comments

Comments

@holtvogt
Copy link

holtvogt commented Aug 10, 2022

I'm wondering why the z values within ranges differ from the point_cloud_range.

  • Why -0.6 for pedestrians/cyclists and -1.78 for cars?
  • Do I have to choose these values for my custom (KITTI-based) dataset as well?

Seen, e.g. here:

[0, -39.68, -0.6, 69.12, 39.68, -0.6],

@ZCMax
Copy link
Collaborator

ZCMax commented Aug 11, 2022

Please refer to this issue:#986, you need to adjust these value for you own custom dataset.

@holtvogt
Copy link
Author

So, as far as I understand, the z values should match the z position of my ground area in my recordings?

@Tai-Wang
Copy link
Member

Tai-Wang commented Sep 3, 2022

Should match the average height of object centers.

@Tai-Wang Tai-Wang closed this as completed Sep 3, 2022
@wittmstSICKAG
Copy link

Since I am currently training SECOND and PointPillars on a custom dataset, I am also curious how to choose/adjust the settings for the Anchor3DRangeGenerator.

@Tai-Wang You mentioned that the z-coordinate should match the average height of object centers. Now, the Velodyne sensor in the KITTI setup is positioned at z = 1.73m (see setup). If this coordinate system is used for training, this would mean that the object centers relative to the ground are:

  • Pedestrians / Bicycles: z = 1.73m + (-0.6m) = 1.13m
  • Cars: z = 1.73m + (-1.78m) = -0.05m

Furthermore, if we now compute the bottom center of these bounding boxes by taking the anchor box dimensions into account, I end up with:

  • Pedestrians / Bicycles: z = 1.13m - 1.73m/2 = 0.265m
  • Cars: z = -0.05m - 1.56m/2 = -0.83m

Is this correct? To me it seems that the anchor z ranges for pedestrians and bicycles are correct but off for cars. If the object center is used, I would expect for cars a z offset of (1.56m/2) - 1.73m = -0.95m and not -1.78m.

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

4 participants