Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 564 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 564 Bytes

snake

See: https://openai.com/blog/requests-for-research-2/

Solving the classic game of snake with OpenAI's PPO baseline.

Alt Text

Installation

Clone the git repository and use the following pip command in the downloaded directory.

pip3 install -e .

Training

Use train.py with the following to train for a million frames. This also saves the model at the end of training.

python3 train.py

Viewing Model

Likewise, use view.py with the following to save an mp4 file of the agent playing.

python3 view.py