decisionforce / CoPO

[NeurIPS 2021] Official implementation of paper "Learning to Simulate Self-driven Particles System with Coordinated Policy Optimization".
Apache License 2.0
117 stars 20 forks source link

When training multi-agent(train_all_copo_dist.py), observation type is not a Dictionary but a Box #26

Closed hyoonsoo closed 2 years ago

hyoonsoo commented 2 years ago

When execute 'train_all_copo_dist.py', I was watching the process of generating train data. in this project, because it is multi-agent observation, I think observation should be gym.Dict. (as wrote in ,annotation: 'metadrive/manager/agent_manager.py' ) but I checked obs_space generated in Box type. and It was executed normally.(no errors) image

How can I fix this problem? Or is this not a problem?

pengzhenghao commented 2 years ago

image

As you can see, the obs space here is single agent's obs space, so it's Box naturally.

hyoonsoo commented 2 years ago

Thank you for your kind answer. I got mixed up.