Farama-Foundation / Farama-Foundation/Arcade-Learning-Environment

Breakout game is flickering when the episode_frame_number reaches 65536 while max_num_frames_per_episode is 108000 in the env spec, is this a known issue?

Open
#623 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
477
Avg merge
11h 11m
Merged PRs (30d)
3

Description

Breakout game is flickering when the episode_frame_number reaches 65536 while max_num_frames_per_episode is 108000 in the env spec?

The below is env spec:

`EnvSpec(id='BreakoutNoFrameskip-v4', entry_point='ale_py.env:AtariEnv', reward_threshold=None, nondeterministic=False, max_episode_steps=108000, order_enforce=True, disable_env_checker=False, kwargs={'game': 'breakout', 'obs_type': 'rgb', 'repeat_action_probability': 0.0, 'full_action_space': False, 'max_num_frames_per_episode': 108000, 'frameskip': 1, 'render_mode': 'rgb_array'}, namespace=None, name='BreakoutNoFrameskip', version=4, additional_wrappers=(WrapperSpec(name='MaxAndSkipEnv', entry_point='stable_baselines3.common.atari_wrappers:MaxAndSkipEnv', kwargs=None), WrapperSpec(name='EpisodicLifeEnv', entry_point='stable_baselines3.common.atari_wrappers:EpisodicLifeEnv', kwargs=None), WrapperSpec(name='FireResetEnv', entry_point='stable_baselines3.common.atari_wrappers:FireResetEnv', kwargs=None)), vector_entry_point=None)`

Here attched the captured video:

https://github.com/user-attachments/assets/8ce8b6f9-7b81-46ab-85c5-db6b0a882528

Just wondering whether there is any fix for that?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.