You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are the following avaialble specs for discrete spaces:
OneHotDiscreteTensorSpec # One hot for one discrete action
MultOneHotDiscreteTensorSpec # One hot for n actions
DiscreteTensorSpec # Categorical integer for one action
It would be nice to introduce the remaining missing spec MultiDiscreteTensorSpec for n categorical actions.
This would allow the _gym_to_torchrl_spec_transform to use this new spec with the parameter categorical_action_encoding to decide which space to assign to gym.spaces.MultIDiscrete doing somethig like this:
Activity
riiswa commentedon Jan 1, 2023
@matteobettini will you work on it? If not I would like to work on it 😄
matteobettini commentedon Jan 1, 2023
I have a few thing in my hands these days, so I do not know when I could start on this. if you want to do it, go for it :) it would be super helpful