-
Optional: To install ROM files for Atari-Py using AutoROM.
pip install autorom && AutoROM
Then follow the on-screen instructions.
You might also need to download unrar:
sudo apt-get install unrar
-
Optional: To install opencv for Supersuit environment wrappers.
sudo apt-get update sudo apt-get install ffmpeg libsm6 libxext6 -y
-
Optional: To install CUDA toolkit for NVIDIA GPU support, download here. Alternatively, for anaconda users:
conda install -c anaconda cudatoolkit
-
Optional: To log episodes in video/gif format, using the
Monitor
wrapper.
-
Install
xvfb
to run a headless/fake screen andffmpeg
to record video.sudo apt-get install -y xvfb ffmpeg
-
Setup fake display:
xvfb-run -s "-screen 0 1400x900x24" bash python [script.py]
or
xvfb-run -a python [script.py]
-
Install
array2gif
, if you would like to save the episode in gif format.pip install .[record_episode]