Skip to content

eastonhou/super-mario-ppo

Repository files navigation

This is an application of PPO algorithm on the game Super Mario.

Video Title

Prerequisites

 pip install -r requirements.txt

Training

python trainer.py

To train with CPU

python trainer.py --device cpu

You may find the AI playback videos in the following folder

cd checkpoints/[game-name]/video

Switching a game

Find the following code snippet in trainer.py, change the parameters as you wish.

ppo = PPO(games.create_mario_profile, dict(world=1, stage=1), 8, 4)

Training curves

training curves

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages