GithubHelp home page GithubHelp logo

Comments (1)

puyuan1996 avatar puyuan1996 commented on June 5, 2024
  • Hello, regarding the time issue you encountered with the running of the cartpole_muzero_config.py configuration, where the runtime is reasonable at 20,000 steps but significantly increases at 100,000 steps, we have analyzed the possible reasons and offer the following suggestions:

    • Firstly, we recommend that you check the metrics recorded in TensorBoard, such as collector/collect_time, to confirm whether the time required for each data collection increases as the number of environment steps increases. This will help to rule out any errors in your time measurement.

    • Secondly, in the CartPole task, the maximum number of steps for each game episode is limited to 200 steps. By default, the capacity of the replay buffer is set to 1,000,000. As the number of game steps accumulates, the amount of data that the MuZero algorithm needs to store will gradually increase, which will inevitably take up more memory resources and disk space and may impact the performance of the program. Additionally, after reaching 20,000 steps, you should check to see if any other resource-intensive programs have been initiated in the system. This could lead to resource contention and thus affect the efficiency of the MuZero algorithm. Therefore, we suggest monitoring the usage of the CPU, GPU, and storage devices to determine if there are any resource bottlenecks.

  • In our local environment and cluster tests, we usually do not encounter this time issue mentioned above. Therefore, a detailed investigation of resource usage and potential program conflicts is likely key to solving the problem you are facing. Best Wishes!

from lightzero.

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.