Comments (1)
-
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 shouldcheck 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 suggestmonitoring 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)
- Question: How can I set up a custom environment? HOT 3
- AlphaZero for Single Player HOT 2
- Error with Convolutional Input in Example Environments (game_2048) HOT 2
- How to use efficient zero for board games HOT 5
- connect 4 setup bugs HOT 1
- Inconsistency Between Episode Counts in MuZero HOT 1
- LightZero on HPC and other questions HOT 3
- About Replicating SampledZero Performance in the Hopper-V3 Environment HOT 2
- Multi GPU EfficientZero import failure "No module named ding" HOT 1
- Multi-GPU issue
- The multi-GPU issue HOT 1
- When will Go be supported? HOT 1
- the sampled efficient zero portion of the code HOT 2
- Custom environment HOT 1
- Does LightZero currently support compilation on Windows? HOT 2
- Replicating multi-GPU EfficientZero Atari results HOT 1
- how to well model a grid env when it changes frequently? HOT 8
- Minigrid environment HOT 1
- Great!!! HOT 1
- Running a trained agent HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightzero.