Code Monkey home page Code Monkey logo

Comments (8)

initial-h avatar initial-h commented on April 28, 2024 2

I write a version base on this repo with freezing target network.FlappyBird_DQN_with_target_network

from deeplearningflappybird.

hashbangCoder avatar hashbangCoder commented on April 28, 2024 1

Hi again,
i'm trying to reproduce the results on keras and have trained for 400,000 steps and the bird is unable to cross the first pipe consistently. My loss is low though ( 0.2) and Q-values are in the range of [0,8]. How long did it take for you before it actually started working i.e. cross the first pipe consistently?

from deeplearningflappybird.

xiahouzuoxin avatar xiahouzuoxin commented on April 28, 2024 1

Still cannot find freezing target network in current version's code. It's really no effect?

from deeplearningflappybird.

yenchenlin avatar yenchenlin commented on April 28, 2024

Hello,
Yeah you are right.
Actually I got a reimplemented version.
Will submit soon!
On Wed, Apr 20, 2016 at 17:46 Code-Deep-Blue [email protected]
wrote:

Hi @yenchenlin1994 https://github.com/yenchenlin1994 , love your
implementation!
I went through your code and I can't seem to find where you've frozen the
target network?
Unless Im missing something in my excess-caffeine induced brain fade,you
continue to update the target every batch?
Wouldn't that hurt your convergence rate badly?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#15

from deeplearningflappybird.

yenchenlin avatar yenchenlin commented on April 28, 2024

I can't remember the exactly number of iterations, but it's no more than ~1000,000 steps

from deeplearningflappybird.

zsy372901 avatar zsy372901 commented on April 28, 2024

@hashbangCoder
I meet the same question that the silly bird keeps top of the screen.....Did you fix it?

from deeplearningflappybird.

weijinsong avatar weijinsong commented on April 28, 2024

I also couldn't find freezing target network code. But thanks for your code. It's helpful for me.

from deeplearningflappybird.

patrick-llgc avatar patrick-llgc commented on April 28, 2024

Here is another repo with target network. https://github.com/patrick-12sigma/DRL_FlappyBird

I made target network an option. You can turn it on and off and experiment to see how much it affects the convergence of training.

I refactored the network into a class, and added some logging functionalities to track the training process. I also borrowed the human play function from @initial-h. Thanks!

from deeplearningflappybird.

Related Issues (20)

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.