GithubHelp home page GithubHelp logo

dqn-gym's Introduction

DQN-gym

Experiments on DQN

Environment request:

Tensorflow 0.10.0

(Other version might need you change some function usages)

Playing with your AI

1. To train:

python ./myRL.py

2. To display:

python ./myRL-display.py

3. Hyper-params in myRL.py or myRL-display.py:

CHECKPOINT_DIR = './checkpoint

where you can save to, or load from check point.

save_request = 1

means you're sure your environment is ok, thus you want to save your model after a period of training.

restore_request = 1

means you want to train from "this" check point file (clarified in './checkpoint/checkpoint' file) Usaully, the file contain the lastest checkpoint file name. However, in another way around, if you change the the file name here, then, it would start from the place you want.

4. Where to change:

  1. (Strongly recommend...) Every hyper-params in car-DQN.py and Q-network structure here.
  1. reward_method() in Virtual-Env.py
  1. In car-DQN.py, I am still not sure how to manipulate the replay_buffer(). And I am trying to add so-called memory and attention to agent.

Idea from here: https://zhuanlan.zhihu.com/p/21320865?refer=intelligentunit

dqn-gym's People

Contributors

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