openai / baselines

OpenAI Baselines: high-quality implementations of reinforcement learning algorithms
MIT License
15.75k stars 4.87k forks source link

Mixed action space #840

Open ghost opened 5 years ago

ghost commented 5 years ago

I have a action space which has continuous and discrete actions. Is there a way to get mixed actions? (without discretization of the continuous actions)

DanielTakeshi commented 5 years ago

This is more of a gym related question. You can use the tuple action type.

https://github.com/openai/gym/blob/master/gym/spaces/tuple.py