Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.26 KB

OPTIONAL_INSTALL.md

File metadata and controls

45 lines (37 loc) · 1.26 KB

Optional Installs

  1. 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
    
  2. Optional: To install opencv for Supersuit environment wrappers.

    sudo apt-get update
    sudo apt-get install ffmpeg libsm6 libxext6  -y
    
  3. Optional: To install CUDA toolkit for NVIDIA GPU support, download here. Alternatively, for anaconda users:

    conda install -c anaconda cudatoolkit
  4. Optional: To log episodes in video/gif format, using the Monitor wrapper.

  • Install xvfb to run a headless/fake screen and ffmpeg 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]