We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d27c2e8 commit 481a5ebCopy full SHA for 481a5eb
src/human_aware_rl/rllib/rllib.py
@@ -218,7 +218,9 @@ def _validate_schedule(self, schedule):
218
def _setup_action_space(self, agents):
219
action_sp = {}
220
for agent in agents:
221
- action_sp[agent] = gymnasium.spaces.Discrete(len(Action.ALL_ACTIONS))
+ action_sp[agent] = gymnasium.spaces.Discrete(
222
+ len(Action.ALL_ACTIONS)
223
+ )
224
self.action_space = gymnasium.spaces.Dict(action_sp)
225
self.shared_action_space = gymnasium.spaces.Discrete(
226
len(Action.ALL_ACTIONS)
0 commit comments