Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /