NVlabs / ScePT

Code for the CVPR 2022 paper "ScePT: Scene-consistent, Policy-based Trajectory Predictions for Planning" by Yuxiao Chen, Boris Ivanovic, and Marco Pavone
Other
81 stars 17 forks source link

How to use code to generate the predicted lines of driving trajectories? #7

Closed xiaoyaocoding closed 1 year ago

xiaoyaocoding commented 1 year ago

How to use the code in github to generate this picture in the paper? image I used the plot_snapshot method to generate the following graph, which lacks the colors of different agents and the predicted lines of driving trajectories 2-30 Thank you very much!

chenyx09 commented 1 year ago

I believe those are generated via visualization.plot_trajectories_clique, and it is supposed to generate the colored predicted trajectories. From your figure, it seems that it's ignoring all vehicles, so I suggest you debug into visualization.plot_trajectories_clique function to figure out what happened.

YangXS16 commented 1 year ago

How to use the code in github to generate this picture in the paper? image I used the plot_snapshot method to generate the following graph, which lacks the colors of different agents and the predicted lines of driving trajectories 2-30 Thank you very much!

I am encountering the same problem as you. The picture does not show the trajectories of all the vehicles. Have you solved it now?