2021-08-16 11:44:25 +01:00
|
|
|
base_image: "anyscale/ray-ml:pinned-nightly-py37-gpu"
|
2021-06-01 17:39:18 +02:00
|
|
|
env_vars: {}
|
|
|
|
debian_packages:
|
|
|
|
- libglib2.0-0
|
|
|
|
- unrar
|
2021-08-03 17:34:27 +01:00
|
|
|
- curl
|
|
|
|
- unzip
|
|
|
|
- gcc
|
|
|
|
- python3-dev
|
2021-06-01 17:39:18 +02:00
|
|
|
|
|
|
|
python:
|
|
|
|
pip_packages:
|
|
|
|
- gym[atari]
|
|
|
|
- atari_py
|
|
|
|
- pybullet
|
|
|
|
conda_packages: []
|
|
|
|
|
|
|
|
post_build_cmds:
|
|
|
|
- pip uninstall -y numpy ray || true
|
|
|
|
- sudo rm -rf /home/ray/anaconda3/lib/python3.7/site-packages/numpy
|
|
|
|
- pip3 install numpy==1.19.5 || true
|
|
|
|
- pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
|
|
|
# Install Atari ROMs.
|
|
|
|
- wget http://www.atarimania.com/roms/Roms.rar
|
|
|
|
- unrar x Roms.rar
|
|
|
|
- python -m atari_py.import_roms .
|