Closed Androbin closed 5 years ago
I believe these actions are from https://github.com/mgbellemare/Arcade-Learning-Environment so if there's an issue with the minimal action set, you may wish to file it on that repo.
If you provide outlier values, it will likely crash when trying to figure out which action meaning you meant: https://github.com/openai/gym/blob/master/gym/envs/atari/atari_env.py#L70
AtariEnv
takes care of reducing_action_set
toaction_space
, which should contain no more than the actions that are relevant to the game. However, it seems that (sometimes)action_space
is larger than required. For example, Breakout has 4 actions and Pong has 6. Despite both only needing 3.Calling
gym.make("Pong-v4").unwrapped.get_action_meanings()
yields:['NOOP', 'FIRE', 'RIGHT', 'LEFT', 'RIGHTFIRE', 'LEFTFIRE']
which doesn't even contain'UP'
and'DOWN'
.I assume
'RIGHT'
and'LEFT'
are'UP'
and'DOWN'
and'*FIRE'
is'NOOP'
.But there is basically no documentation on
action_space
other than:Have I misunderstood something? Is
AtariEnv
supposed to "offer" these actions? And how does it handle outlier values?