Giter VIP home page Giter VIP logo

a.i-learns-to-play-atari-breakout-reinforcementlearning's Introduction

A.I learns to play Atari's Breakout (Reinforcement Learning)-

Using the "Advantage Actor Critic(A2C)" Reinforcement Learning method, the A.I is trained to play Atari's Breakout.

The Game:

The game used for this Model is Atari's Breakout

breakoutGame

The game was used by downloading ROM files.

AtariMania 'ROMS'

importingbreakoutGame

The Algorithm:

The A2C algortihm has been implemented for the Agent to play the game

refer the paper:

Asynchronous Methods for Deep Reinforcement Learning

The Python Libraries used:

StableBaselines-3

OpenAI-Gym

Models:

  • Mark I (100k TimeSteps):

The first Model is a Preliminary Model which has been trained with 100k TimeSteps.

100k

Highest Score:

100KScore

  • Mark II (2M TimeSteps):

The Second model is an improved model that has been trained for 2 Million TimeSteps. The Performance was significantly better

2M

Highest Score:

2MScore

Tensorboard:

These show as to how the Model kept getting better and better, where the Agent was able to score higher.

2MScore

2MScore

2MScore

Better Performance:

The Agent was able to score way better with the 2M TimeSteps trained Model while Testing.

2MScore

2MScore

2MScore

If the Model were to be trained for longer TimeSteps, it would perform more effectively.

Have Fun

Yours Truely,

Anuraag Rath :P

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.