Giter Site home page Giter Site logo

rl_atari_pytorch's Introduction

Atari Pytorch

A atari AI Player implement by pytorch play games

Synopsis

Reinforcement learning shows the most potential of AI in many area, however, to use reinforcement learning you must specific your environment which is somethings hard to build a environment for your problem. But gym let us has a very convenient way to explore rl algorithms.

So here it is, using DDPG and LSTM to play atari, and it is really effective!!, as I can show in Pong-V0-moniter you can find the play progress in mp4. Our AI can really beat computer!!

How to Play With

OK, to play with it, simply run:

./run_train.sh

This will train on Pong-V0 env, and save your model into checkpoints/. If you interrupted, next time it will continue train on last saved model.

And, to play with your model, simply run:

./run_play.sh

You can change env in .sh command, many atari env are supported.

Future

This is a very good exploration but not the end, later on I will explore on reinforcement learning on autonamous-car driving problem and train a AI to fucking drive!!

Contribute

Well, very welcome to send PR to add more game env train models to this repo!! If you have any question about this you can find me via wechat: jintianiloveu.

rl_atari_pytorch's People

Contributors

lucasjinreal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.