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

Got RuntimeError when running command-line tool ale-import-roms #489

Open
ZM-J opened this issue Jul 5, 2023 · 0 comments
Open

Got RuntimeError when running command-line tool ale-import-roms #489

ZM-J opened this issue Jul 5, 2023 · 0 comments

Comments

@ZM-J
Copy link

ZM-J commented Jul 5, 2023

Hi! I followed the instructions "Deep Q-Learning for Atari Breakout" from Keras. The source code requires atari-py, but it seems that ale-py, i.e., this repo, is recommended. Therefore, I pip-installed this repo, and tried running

ale-import-roms .\ROMS\

However, I got a RuntimeError:

Traceback (most recent call last):
  File "D:\Software\Anaconda\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Software\Anaconda\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Software\Anaconda\Scripts\ale-import-roms.exe\__main__.py", line 7, in <module>
  File "D:\Software\Anaconda\lib\site-packages\ale_py\scripts\import_roms.py", line 93, in main
    import_roms(romdir, datadir, pkg=args.import_from_pkg, dry_run=args.dry_run)
  File "D:\Software\Anaconda\lib\site-packages\ale_py\scripts\import_roms.py", line 25, in import_roms
    rom = ale_py.ALEInterface.isSupportedROM(path)
RuntimeError

I got the ROMs in the Atari 2600 VCS ROM Collection.

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