openai / gym

A toolkit for developing and comparing reinforcement learning algorithms.
https://www.gymlibrary.dev
Other
34.57k stars 8.59k forks source link

Rewards in BreakoutDeterministic-v4 #1709

Closed devloper13 closed 4 years ago

devloper13 commented 4 years ago

Can I know what are the rewards in BreakoutDeterministic-v4? I don't get a reward of -1 when the game is over or when I lose life.

christopherhesse commented 4 years ago

Those are determined by https://github.com/mgbellemare/Arcade-Learning-Environment

It looks like the reward is the change in score: https://github.com/mgbellemare/Arcade-Learning-Environment/blob/master/src/games/supported/Breakout.cpp#L54

So no penalty for losing a life.