Closed familyld closed 4 years ago
In Breakout, after losing a life the game waits until your agent presses the "fire" action. Once that action is executed the ball drops. If the agent doesn't execute the "fire" action while waiting for the ball nothing will happen. Try running a random policy on Breakout, you'll see that things don't break.
In your case, perhaps your agent is being greedy and never will execute the "fire" action for the episode to continue. Try using an epsilon-greedy policy or increasing epsilon if you're already doing so.
@JesseFarebro Thanks a lot for your quick reply. I was wondering whether an action should be taken to end this game and your answer perfectly solves my question.
As mentioned in the title and demonstrated by the gif, after the paddle misses the ball’s rebound, the game still goes on. I check
done
returned byenv.step(action)
and it remainsfalse
. Is this normal? I am usingBreakoutNoFrameskip-v0
and the code I use is as follows,where
env
is produced by,I am using atari-py==0.2.6 and gym==0.17.2.