Giter Club home page Giter Club logo

noisynetdqn's Introduction

NoisyNetDQN

A TensorFlow implementation of "Noisy network for exploration".

The Q-value function is implemented with 2 convolution layers and 3 fully connected layers, and I use the atari game Breakout-v0 for the test.
If you are doing test on the CartPole or some other games which the state is 1 dimension, there network of Q-value function should only have dense layers.
As a comparison, you can see the implementation of DQN in DQN.py.
The feedback after an action contains 4 parts:
state, real-reward, game_over, lives_rest
There are 4 actions in the game Breakout-v0:
0: hold and do nothing
1: throw the ball
2: move right
3: move left
Note: The train-reward is equal to the real-reward in most of the time. But in the beginning of the new live, Its obvious the action should be throwing the ball. So the train-reward should be 1 in spite of the real-reward of throwing is zero. And the train-reward is -1 when you miss the ball.

noisynetdqn's People

Stargazers

 avatar  avatar  avatar Darran Zhang avatar bygreencn avatar Shaohui Ruan avatar Yunfei Wang avatar  avatar Ziniu Li avatar Dongming Wu avatar MJ Shin avatar Cao_enjun avatar  avatar Kai Wu avatar Norio Kosaka avatar Xiaodong Wang avatar Kun Shao avatar magic9911 avatar fun_dl avatar

Watchers

James Cloos avatar

noisynetdqn's Issues

训练过程总是出现nan

在训练的时候总是从dense_noisy最先出现nan,后面就整个网络都nan了,请问是什么原因?

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.