nv-tlabs / STRIVE

Code for CVPR 2022 paper "Generating Useful Accident-Prone Driving Scenarios via a Learned Traffic Prior"
Other
106 stars 20 forks source link

What's the meaning of the attributes in the result json file? #2

Closed Kevin6liu6 closed 9 months ago

Kevin6liu6 commented 9 months ago

I was able to generate adversarial scenarios following the instructions, and got several BEV images/videos along with a json file. I printed the keys and got ['N', 'dt', 'map', 'lw', 'sem', 'past', 'fut_init', 'fut_adv', 'fut_internal_ego', 'fut_sol', 'attack_agt', 'attack_t', 'z_adv', 'z_sol', 'z_prior']. I am wondering what are the meanings of these keys.

davrempe commented 9 months ago

What you probably care most about is past and fut_adv which are the past trajectories and future trajectories for all agents in the final adversarial scenario.

A full explanation of all fields is as follows:

The evaluation script shows how to read in these json files and visualize them.