Closed DezeZhao closed 1 year ago
@edwardzhou130, hello, can you help me about the question, thank you a lot.
From codes all above, I know that waymo infos' gt boxes coordinates are[xyzwlhr]
, and r = -pi/2-r
for training and validating; but while calculating iou_loss, I see you again translate the pred box ang gt box to pcdet's coords like [xyzlwhr], but this time r
should not be -pi/2-r
? I think it should remain unchanged for gt box?
https://github.com/TuSimple/centerformer/blob/5a949b88ed7bb15aafb39bf78c95f1452063ebea/det3d/models/bbox_heads/center_head_iou_1d.py#L269
I actually didn't look into this. I directly use their implementation to calculate the IoU. I think probably it's okay as long as the pred box and gt box are kept in their required format.
https://github.com/TuSimple/centerformer/blob/5a949b88ed7bb15aafb39bf78c95f1452063ebea/det3d/datasets/waymo/waymo_common.py#L269 https://github.com/TuSimple/centerformer/blob/5a949b88ed7bb15aafb39bf78c95f1452063ebea/det3d/datasets/waymo/waymo_common.py#L270