-
Notifications
You must be signed in to change notification settings - Fork 462
Description
In the description of Pitfall it says
The game is over if you collect all the treasures or if you die or if the time runs out.
However the environment does not terminate when the timer runs out. The player is simply unable to move but the environment keeps running.
The commonly used truncation limit for training atari games of 30 minutes is longer than the 20 minute timer. Which can lead to a lot of wasted transitions in a state of the game where the agent can no longer perform any action if the timer ran out.
I could of course change the truncation to accommodate this, but the timer running out should be a termination not a truncation as the agent can no longer collect any rewards after.
Is there some easy way for me to fix this in a fork of ALE? I could create a wrapper that counts the frames and terminates after 20 minutes but I'd prefer to fix this in the specific game itself somehow.
In the long term It might be worth considering changing this in ALE. As termination on timeout seems to be the intended behavior.