Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 3 missing ROM #103

Open
RinChanNOWWW opened this issue Dec 5, 2021 · 0 comments
Open

Lab 3 missing ROM #103

RinChanNOWWW opened this issue Dec 5, 2021 · 0 comments

Comments

@RinChanNOWWW
Copy link

Running

gym.make("Pong-v0", frameskip=5)`

in lab3 part 3.6 meets:

Exception: ROM is missing for pong, see https://github.com/openai/atari-py#roms for instructions

Solved this by (https://stackoverflow.com/questions/67656740/exception-rom-is-missing-for-ms-pacman-see-https-github-com-openai-atari-py):

import urllib.request
urllib.request.urlretrieve('http://www.atarimania.com/roms/Roms.rar','Roms.rar')
!pip install unrar
!unrar x Roms.rar
!mkdir rars
!mv HC\ ROMS.zip   rars
!mv ROMS.zip  rars
!python -m atari_py.import_roms rars

Should these codes be added into the original lab codes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant