Giter Site home page Giter Site logo

t_max = 32 about async-rl HOT 6 OPEN

coreylynch avatar coreylynch commented on July 19, 2024
t_max = 32

from async-rl.

Comments (6)

ppwwyyxx avatar ppwwyyxx commented on July 19, 2024

I used a larger batch size (128) in my a3c implementation instead of 5 and it works quite well. I don't think there is any reason the batch size should be small. But that doesn't mean t_max should be large.
With a large t_max, the training gets less stable in my experiments.

from async-rl.

etienne87 avatar etienne87 commented on July 19, 2024

I don't understand how the batch can be large and t-max small? You need to accumulate frames during t-max steps before doing a backprop right?

from async-rl.

ppwwyyxx avatar ppwwyyxx commented on July 19, 2024

In one backprop you can accumulate more frames from different simulators, but each simulator still only produces a 5-step temporal difference every time. Having a larger batch size should theoretically stabilize training.

from async-rl.

etienne87 avatar etienne87 commented on July 19, 2024

Ah! Agreed. So like we should share a common replay memory to all threads and we recompute forward before large batch update?

from async-rl.

ppwwyyxx avatar ppwwyyxx commented on July 19, 2024

The forward part doesn't really need to be recomputed. A delay in the target value is acceptable, similar to the idea of target network in DQN.

from async-rl.

LinZichuan avatar LinZichuan commented on July 19, 2024

How can you run the project normally? I tried to run it but come out an error #12 . @ppwwyyxx @etienne87

from async-rl.

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.