Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hyoonsoo opened this issue Oct 11, 2022 · 2 comments

Comments

@hyoonsoo
Copy link

hyoonsoo commented Oct 11, 2022

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
Copy link
Member

pengzhenghao commented Oct 13, 2022

image

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

@hyoonsoo
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants