Comments (1)
Check examples/random_walk.py. If you change:
config_dict = {'max_episode_length': 2000}
to 100 the episode length will have 100 steps before resetting. That's what the title of your question asked.
As for the body of your question, in the rainbow code, the arg for --max-num-steps
(not max_step_num
) is for the number of training steps, not episode length and it's default is set to 500,000. That means the algorithm trains for 500,000 steps and is not much to do with episodes. Hopefully that clears it up.
If you would like to change the episode length for rainbow change the rainbow config file and use the param for max_episode_length
from cups-rl.
Related Issues (18)
- Mulit agent HOT 10
- How to add in new movement like Crouch and stand HOT 1
- How to train on server? HOT 2
- Is there any ways to improve trainning speed? HOT 5
- Calling different tasks for different iteration HOT 2
- ploting the result HOT 2
- Regarding to policy/model/weights HOT 4
- error after num_steps = 100000 / 50000000 HOT 2
- reset agent but not the envirnment HOT 3
- make random action in rainbow HOT 2
- "open_close_interaction": true gives error HOT 1
- Randomize object's location
- decouple RL algorithm with gym wrapper
- regarding the input of Rainbow
- Error starting AI2THOR Env HOT 1
- How long does it take to train rainbow HOT 3
- About task "place cup in microwave" HOT 13
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 cups-rl.