We do recommend using the new v5 environments in the ALE namespace: import gym env = gym. You can also install gym which also installs ale-py with Gym.Īs of Gym v0.20 and onwards all Atari environments are provided via ale-py. Simply install the Python package using the instructions above. Once you've imported a supported ROM you can simply import the path from the ale-py.roms package and load the ROM in the ALE: from ale_py.roms import Breakout ale. For more details check out the example python-rom-package. ale-import-roms roms/įurthermore, Python packages can expose ROMs for discovery using the special ale-py.roms entry point. You can simply specify a directory as the first argument to this tool and we'll import all supported ROMs by the ALE. First is the command line tool ale-import-roms. The ALE doesn't distribute ROMs but we do provide a couple tools for managing your ROMs. You can now import the ALE in your Python projects with from ale_py import ALEInterface ale = ALEInterface () ROM Management Note: Make sure you're using an up to date version of pip or the install may fail. You simply need to install the ale-py package distributed via PyPI: pip install ale-py The ALE currently supports three different interfaces: C++, Python, and OpenAI Gym. Multi-platform code (compiled and tested under macOS, Windows, and several Linux distributions).Automatic extraction of game score and end-of-game signal for more than 100.Emulation core uncoupled from rendering and sound generation modules for fastĮmulation with minimal library dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |