rlworkgroup / garage

A toolkit for reproducible reinforcement learning research.
MIT License
1.84k stars 309 forks source link

Make environment with 2 discrete action #2315

Open Ahmadmoo opened 2 years ago

Ahmadmoo commented 2 years ago

i was trying to make environment with 2 discrete action . but i couldn't find argument for akro.Discrete to change shape to 2 .

How can i make environment with 2 discrete action ? (i dont have mixing option for actions )

Thank you.

krzentner commented 2 years ago

You can use an akro.Tuple to combine two akro.Discrete actions. However, note that you will probably have to write your own policy (and maybe Q functions). Fortunately that is fairly easy to do in garage.