The Atari breakout platform doesn't move and just sticks to right side.
See original GitHub issueHello, I was working on my atari breakout model and the project is finally completed but doesn’t work nicely as shown in the tutorial. Here are two pics of how its like:
Here is my code:
#Import Dependencies
import gym
from stable_baselines3 import A2C
from stable_baselines3.common.vec_env import VecFrameStack
from stable_baselines3.common.evaluation import evaluate_policy
from stable_baselines3.common.env_util import make_atari_env
from stable_baselines3.common.env_util import make_vec_env
import os
from gym.utils import play
from stable_baselines3.ddpg.policies import CnnPolicy
from ale_py import ALEInterface
from ale_py.roms import Breakout
ale = ALEInterface()
ale.loadROM(Breakout)
env = make_atari_env('Breakout-v0', seed=0)
log_path = os.path.join('Training', 'Logs')
model = A2C('CnnPolicy', env, verbose=1, tensorboard_log=log_path)
a2c_path = os.path.join('Training','Logs', 'A2C_300k_model')
model.save(a2c_path)
env.observation_space
del model
model = A2C.load(a2c_path, env)
evaluate_policy(model, env, n_eval_episodes=100, render=True)
I am also only getting the average score of 1 or something unlike in the video in which the code gives him 4-5 point average. Please help. The tutorial I am following: https://www.youtube.com/watch?v=Mut_u40Sqz4&t=7103s&ab_channel=NicholasRenotte. Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
[Question] Atari breakout platform glitching #1020 - GitHub
Hi, I tried it but I can't get it to work. It still sticks to the right side occasionally moving to the left....
Read more >Play Google Atari Breakout Game - elgooG
Atari Breakout is a hidden Google game which turns Google Images into a playable classic arcade video game with a Google twist. Start...
Read more >Atari 5200 SuperSystem FAQ - AtariAge
The joystick itself is simply a set of four buttons under the stick that you unknowingly press when you move the joystick in...
Read more >We Made Atari Breakout with just redstone! - YouTube
Me and Sloimayyy made Atari Breakout with just redstone!This was a fantastic project. ... Your browser can't play this video.
Read more >Atari CX40 joystick - Wikiwand
When the stick is moved, one side of the hemisphere (right) moves down to press on the buttons while the opposite side is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I have done that. Please check this link: https://github.com/DLR-RM/stable-baselines3/issues/1020
Please help us to help you by filling completely the issue template.