Closed visuallization closed 1 year ago
This also makes it work with clean-rl :)
Thanks for adding this implementation. It would great to also have an example environment to demonstrate and test this implementing on. I understand that this could be a lot of work. What environment would you imagine using multi-discrete space in ?
I am currently using multi-discrete spaces like this:
I know that you could also implement it in the way you did with Jumperhard where you used 2 continuous spaces and 1 discrete, but I like to have the flexibility. The cool thing with this is that it should also support then spaces n > 2. But it still needs some testing from my side.
Of course this also just applies if convert option is true. if not we just work directly with the dictionary and can have mixed spaces
@edbeeching I added support for multi discrete action spaces so discrete action spaces > 2 can also be used with with stable baselines 3. What's your take on it? Is this alright or will it break anything in terms of rl algorithms?