Skip to content

questions about command generation during inference time #89

@qiangt

Description

@qiangt

Hi, authors, I have a question regarding how the command is generated, i.e., turn-left, turn-right, go-forward. I read the related function get_sdc_planning_label in projects/mmdet3d_plugin/datasets/data_utils/trajectory_api.py

My understanding is that: to decide whether the command should be turn left or right, it compares the horizontal distance shift (x) between the first and last checkpoint (6 in total by default). My issue is that even during the inference time, the code is using the ground truth trajectories from future 6 frames. However, if we think about the real situation, we cannot read the ground truth trajectories from future since the car hasn't drive to the future yet. This implementation makes the UniAD only works for dataset has labels and cannot be directly tested in unlabelled dataset, even at inference time.

I have two questions:

  1. Is my understanding correct? I might misunderstand the codes
  2. What will be your thoughts on how to generate this command in the real scenario where no label is available? I know we might be able to get the command from navigations but navigation is normally much coarser and considered to be global planning. 2 seconds time is normally falling into the local planning range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions