Closed Kevin6liu6 closed 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:
N
- the number of agentsdt
- timestep size of scenariomap
- name of the map in the dataset that this scenario is onlw
- the length and width of the bounding boxes for each agentsem
- the semantic category of each agent indicated by a one-hot vectorpast
- the past trajectories of agents in the scenefut_init
- the future trajectories of agents used to initialize the optimizationfut_adv
- the future trajectories of agents in the final adversarial scenario (i.e. the output of the adversarial optimization)fut_internal_ego
- this is our method's prediction of the ego agent trajectory after adversarial optimizationfut_sol
- the solution trajectory for the ego to avoid the adversarial attack (i.e. the output of the solution optimization)attack_agt
- the index of the "attacking" agent, i.e. the one that causes the collision or gets closestattack_t
- the timestep of the attack (collision) or the timestep that's closest to a collisionz_adv
- the VAE latent vector for the final adversarial scenarioz_sol
- the VAE latent vector for the final solution scenarioz_prior
- the mean and variance of the latent distribution output by the encoder of our modelThe evaluation script shows how to read in these json files and visualize them.
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.