islamelnabarawy / sc2gym

PySC2 OpenAI Gym Environments
Apache License 2.0
48 stars 14 forks source link

compatible with OpenAI Gym Vectorized env #4

Open SurferZergy opened 5 years ago

SurferZergy commented 5 years ago

Was wondering if it is possible to make it able to wrap with OpenAI's DummyVecEnv? Seems like most of their baselines all require a vectorized env, would it be possible to wrap it?

https://stable-baselines.readthedocs.io/en/master/modules/ppo2.html

OpenAI also requires actions space and observation space to be specific to theirs, as in either "Box" or "Discrete", pysc2 seem to offer action in lists, and observation in objects, is there a way to translate between them?

islamelnabarawy commented 4 years ago

I currently don't have the resources to work on this, so I will have to rely on the community.

Contributions and pull requests are welcome.