You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tianshou/examples/mujoco
/mujoco_ppo_hl_multi.py
i met a problem:
File "/data1/wzq/PPO/multi.py", line 140, in main
rliable_result = RLiableExperimentResult.load_from_disk(persistence_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wzq25/tianshou/tianshou/evaluation/rliable_evaluation_hl.py", line 147, in load_from_disk
test_data = LoggedCollectStats.from_data_dict(restored_test_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wzq25/tianshou/tianshou/evaluation/rliable_evaluation_hl.py", line 52, in from_data_dict
data[k] = LoggedSummaryData(**v)
^^^^^^^^^^^^^^^^^^^^^^
TypeError: LoggedSummaryData.init() got an unexpected keyword argument '0'
In tianshou/examples/mujoco
/mujoco_ppo_hl_multi.py
i met a problem:
File "/data1/wzq/PPO/multi.py", line 140, in main
rliable_result = RLiableExperimentResult.load_from_disk(persistence_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wzq25/tianshou/tianshou/evaluation/rliable_evaluation_hl.py", line 147, in load_from_disk
test_data = LoggedCollectStats.from_data_dict(restored_test_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/wzq25/tianshou/tianshou/evaluation/rliable_evaluation_hl.py", line 52, in from_data_dict
data[k] = LoggedSummaryData(**v)
^^^^^^^^^^^^^^^^^^^^^^
TypeError: LoggedSummaryData.init() got an unexpected keyword argument '0'
In debugger, the v was:
{'0': {'max': [0.60653067 0.60536045], 'mean': [0.60653067 0.60536051], 'min': [0.60653067 0.60536045], 'std': [0.00000000e+00 5.96046448e-08]}, '1': {'max': [0.60653067 0.60372454], 'mean': [0.60653067 0.60372448], 'min': [0.60653067 0.60372454], 'std': [0.00000000e+00 5.96046448e-08]}, '2': {'max': [0.60653067 0.6062029 ], 'mean': [0.60653067 0.60620296], 'min': [0.60653067 0.6062029 ], 'std': [0.00000000e+00 5.96046448e-08]}}
so it is a multi-dimension dict, how to solve it?
The text was updated successfully, but these errors were encountered: