OpenDriveLab / UniAD

[CVPR 2023 Best Paper Award] Planning-oriented Autonomous Driving
Apache License 2.0
3.57k stars 406 forks source link

Why is the queue_length set to 5 and 3 #169

Closed shenyinzhe closed 8 months ago

shenyinzhe commented 9 months ago

Hello,

In the stage 1, queue_length = 5 In the stage 2, queue_length = 3 I'm wondering is there any specific reason to set it like above. Especially in the stage 2:

Thanks

YTEP-ZHI commented 8 months ago

Hi @shenyinzhe, the queue length is reduced in the second stage for efficiency concerns, since a long queue of historical features is extremely memory-consuming.

YTEP-ZHI commented 8 months ago

The choice of queue_length=3 is more of an empirical practice, as there's no significant performance gap between queue_length 3 and 4. Therefore, we opt for queue_length=3 as it's more efficient in training.

shenyinzhe commented 8 months ago

Thanks for reply, I'll close the issue.