Coder Social home page Coder Social logo

bingo-hyouka / dqn-atari-pong Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mmuppidi/dqn-atari-pong

1.0 0.0 0.0 172.16 MB

This project explores a deep reinforcement learning technique to train an agent to play atari pong game from OpenAI Gym. OpenAI Gym is a toolkit to develop and compare reinforcement learning algorithms. The learning agent takes raw pixels from the atari emulator and predicts an action that is fed back into the emulator via OpenAI interface. The deep reinforcement learning network used in this project is Deep Q Network (DQN), it took over 10 million episodes to perfectly play and win the game.

Jupyter Notebook 38.91% HTML 58.12% Python 2.97%

dqn-atari-pong's Introduction

Machine Learning Nano Degree Capstone Project: Deep Reinforcement Learning to train an agent to play Atari Pong game using DQN

Random model DQN 5260000 steps DQN 8090000 steps DQN 9500000 steps
Random model DQN 5260000 steps DQN 8090000 steps DQN 9500000 steps

I have obtained the starter code from CS 294: Deep Reinforcement Learning, Spring 2017

https://github.com/berkeleydeeprlcourse/homework/tree/master/sp17_hw/hw3

Make sure to install Tensorflow, OpenAI Gym, numpy, pandas and bokeh before running these scripts.

Run the training using the following command

python run_dqn_atari.py >> train_logs_new.log

There is a jupyter notebook, named DQN report.ipynb, which has all the code for plotting the stats presented in the report. The file named DQN_report.html is the html snapshot of the jupyter notebook. The file named record.pdf has the complete report of the project.

dqn-atari-pong's People

Contributors

mmuppidi avatar

Stargazers

 avatar

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.