toshikwa / gail-airl-ppo.pytorch

PyTorch implementation of GAIL and AIRL based on PPO.
MIT License
164 stars 30 forks source link

What can I do if the action space is Discrete? #12

Open Charlesyyun opened 1 year ago

Charlesyyun commented 1 year ago

I noticed that in your code the action space is Box type, and the actor output is between -1 and 1, which can be used for later calculation. However, what if the action space is Discrete? How to deal with this situation?

prasuchit commented 10 months ago

@toshikwa @Charlesyyun I know it's been a long time, but I just added support for discrete actions. It's available here.