Closed ChrisAGBlake closed 5 months ago
Hi, I already have dict action support implemented for the agent and hope to push the changes in a larger update in a few weeks.
Thanks very much! This is a fantastic algorithm.
@danijar Will there be an update anytime soon? And do you need help with the repo maintenance? I can lend a hand
Just updated the paper and code, which now supports dict action spaces.
Awesome. I'll test it out. Thanks
I seem to get an error when attempting to use a gym environment with a Dict action space like as follows:
self.action_space = gym.spaces.Dict({'direction': gym.spaces.Discrete(5), 'foil': gym.spaces.Discrete(2)})
in agent.py it seems to expect only one action with the key 'action'
in from_gym.py FromGym seems to add the key 'action' if there's only 1 action however if it's a dict based action space it doesn't modify it in a way that seems to be compatible with Agent().
Is there a way I can use a Dict based action space or a way to have more than 1 discrete action?