Skip to content

A Reinforcement Mario game using the PPO(Proximal Policy Optimization) algorithm and OpenAI gym environment.

License

Notifications You must be signed in to change notification settings

Sameer-13/Mario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mario

A Reinforcement Mario game using the PPO(Proximal Policy Optimization) algorithm and OpenAI gym environment.

Model Result Visualization:

MarioiGif

Tools and libraries requirements:

Before running the project make sure that you have installed the following:

  • Visual Studio with C++ compiler https://visualstudio.microsoft.com/free-developer-offers/
  • nes_py library !pip install nes_py
  • gym library !pip install gym
  • gym_super_mario_bros library !pip install gym_super_mario_bros
  • stable_baselines3 library !pip install stable_baselines3

Training:

In order to achieve a good performance you have to train the model for more than one million time steps model.learn(total_timesteps=1000000), which requires a lot of computation power and resources, so I encourage you to use cloud services to run the model, such as google Colab.

Author:

Sameer Alsabei(Sameer-13) Github Twitter

About

A Reinforcement Mario game using the PPO(Proximal Policy Optimization) algorithm and OpenAI gym environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published