How to Record the environment? #738
Unanswered
lev-smolentsev-K1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys! I can not correctly save my simulated scenario. I do that:
try: env.export_scenarios(verbose=True, scenario_index=i, render_topdown=True, policies=lambda o: [] ) except (RuntimeError, TypeError, NameError) as inst: print(inst)
And I get this error:
File "/home/levasmol/metadriverse/metadrive/metadrive/envs/base_env.py", line 856, in export_scenarios scenarios_to_export[index] = convert_recorded_scenario_exported(episode, to_dict=to_dict) File "/home/levasmol/metadriverse/metadrive/metadrive/scenario/utils.py", line 279, in convert_recorded_scenario_exported origin_id = frames[frame_idx].manager_info[traffic_manager_name][SD.OBJ_ID_TO_ORIGINAL_ID][id] KeyError: 'obj_id_to_original_id'
Could you give me a hint what args should be there for policies? (I mean I do not need any policies just save my scenario run)
Thanks for the nice presentation of MD in CVPR :)
Beta Was this translation helpful? Give feedback.
All reactions