InhwanBae / ETH-UCY-Trajectory-Visualizer

MIT License
7 stars 0 forks source link

How to visualize the predicted results of the model #1

Open xu758 opened 5 months ago

xu758 commented 5 months ago

hello,when I reproduce the visualization code, it only generates the ground truth trajectories. I would like to know how to generate the predicted trajectories from the model.

InhwanBae commented 5 months ago

Hi @xu758,

You can use two approaches to visualize the trajectory prediction results of your own model. The first is to integrate my code into your evaluation pipeline, and the second is to bundle the prediction results into a list and pickle it for loading in the visualizer. I recommend the second approach, and you can use my commented lines of code in the visualize_ethucy.py file.