Comments (6)
I will let @araffin provide answers for this one, but I highly recommend fixing the limitation in your environment. Being able to run RL experiments/optimization in parallel is a must for doing proper results in reasonable time, unless your environment is very fast (above 10000 steps-per-second).
from rl-baselines3-zoo.
Thanks for your quick response.
That's what I suspected (feared).
I am trying to come up with something clever, but the simulation software I use is giving me a hard time - on that note: it is not very fast either.. more like 100 steps per second
from rl-baselines3-zoo.
Does anybody see any workaround for that?
What about distributed hyperparameter optimization?
See Readme and Optuna documentation.
from rl-baselines3-zoo.
Unfortunately, that's not really an option either, due to licensing limitations.
I am using this.
I can train the agent on one environment no problem, but as it tries to spawn more environments it breaks.
from rl-baselines3-zoo.
There is no other workaround for this sadly :(. You could run the hyperparameter optimization with one environment alone but this will take a very long time.
from rl-baselines3-zoo.
I have spent some more time trying to get the environment to parallelize and I've had some minor successes, so that I think it might be possible somehow. (The error messages bikesim is giving me are not really descriptive...)
Thank you both for your inputs, I really appreciate!
from rl-baselines3-zoo.
Related Issues (20)
- Plotting Script Improvement HOT 1
- [Question] Training Donkey Car Without Simulator Rendering HOT 2
- Issue with 'feat/offline-RL' Branch for Donkey Car in rl-baselines3-zoo HOT 4
- [Feature Request] Call train from Python code HOT 2
- [Bug]: Cannot enjoy due to error Cannot convert space of type Discrete(7). Please upgrade your code to gymnasium. HOT 1
- [Feature Request] Store git hash of key repos/packages
- [Bug]: Nan Problems for SAC, TQC, for AntBulletEnv-v0, HalfCheetahBulletEnv-v0 HOT 9
- [Error]: I got unexpected error using enjoy() with pretrain model HOT 4
- Training DonkeyCar with TQC algorithm with pretrained AE
- [Bug]: Custom Sub-Hyperparameters during train.py -> Optimize HOT 1
- [Question] You must pass an environment when using `HerReplayBuffer` HOT 1
- [Question] RuntimeError: Unable to sample before the end of the first episode. We recommend choosing a value for learning_starts that is greater than the maximum number of timesteps in the environment. HOT 5
- [Question] Custom Eval Callback for train/optimize HOT 2
- [Bug]: TODO: add test dependencies in the `setup.py` HOT 1
- [Question] Does hyperparameter tuning support custom vectorized environments? HOT 6
- [Bug]: Training suddenly stops at 25000 timesteps and Optuna optimization immediately exits in my custom environment HOT 7
- [Question] exp_manager reward and GAE discount factors HOT 1
- [Bug]: Custom environment not found in gym registry, you maybe meant... error message HOT 1
- [Bug]: Optimization log and optimal policy not in `--optimization-log-path` but in `--log-folder` HOT 1
- [Question] Number of parallel environments with hyperparameters optimization HOT 1
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 rl-baselines3-zoo.