Giter VIP home page Giter VIP logo

openai-gym-solutions's People

Contributors

t-viyada avatar vy007vikas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openai-gym-solutions's Issues

atari/breakout.py generating the td errors

Hi, I was going through your code and I have a few doubts regarding a few parts of the code.

I know you must be busy but I am writing my own code for breakout and could really use some help ASAP, so if you could take some time to help me out then that would be great

I want to ask:
Our neural net is taking in the state of the game and will have 6 ('OUT') output nodes corresponding to the six possible actions the agent can take, each of these values represent the q value of being in that state and taking that particular action. Now when I take a particular action from a state, lets say I take action=2. I now have the q_predicted for each state-action pair(i.e 6 values). However I can only produce the td-error for one particular state-action(i.e action=2). For the remaining actions I dont have a td target and hence wont have a td error that can be used for backpropagating and optimizing the neural net.

In line 103 yval = np.zeros((1,OUT)) and then yval[0][action] = re + GAMMA*y you are saying that the td target for all other state actions is zero. Could you please explain this part??

Your help is much appreciated

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.