Code Monkey home page Code Monkey logo

Comments (4)

cyoon1729 avatar cyoon1729 commented on May 18, 2024

Yup, I am aware. I am currently refactoring this repository (in a new branch) and will fix them all.

from distributedrl.

yikeqingli avatar yikeqingli commented on May 18, 2024

Thank you for your reply. There is one more question. What should I do when the buffer is full in D4PG? Only a piece of information is thrown out in your code. If I just use the remove function to remove one-half self.it_capacity every time the buffer is full, is it correct?
The code is like:
if idx> self.it_capacity:
             self.remove (0.5 * self.it_capacity)

from distributedrl.

cyoon1729 avatar cyoon1729 commented on May 18, 2024

Hi @yikeqingli, sorry for the late reply. I have made some huge changes to the repository, addressing the following:

  • Resolving memory leakage and bottlenecks; overall more correct and efficient distributed learning
  • Reusability; I hoped to work toward more structural and general implementations of distributed RL, so incorporated abstract classes and reusable components. In particular, I will be moving onto implementing IMPALA and SEED.
  • Using GPU for learner and CPU for workers actually works.

I don't have D4PG in my immediate To-do's, but it should be a fairly simple implementation from the reusable components. I would be happy to walk you through details, if you want!

from distributedrl.

cyoon1729 avatar cyoon1729 commented on May 18, 2024

Closing this issue - feel free to reach out!

from distributedrl.

Related Issues (5)

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.