Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.25 KB

OPTIONAL_INSTALL.md

File metadata and controls

41 lines (34 loc) · 1.25 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-free:

    sudo apt-get install unrar-free
    
  2. Optional: To install opencv for Supersuit environment wrappers.

    sudo apt-get update
    sudo apt-get install ffmpeg libsm6 libxext6  -y
    
  3. Optional: For GPU support follow NVIDIA's cuda download instructions or download cudatoolkit through anaconda.

  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]