Skip to content

How to accelerate the training speed? #211

Answered by Mark2000
YYan99 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this environment is CPU heavy and spends a decent amount of time on environment propagation as opposed to learning. We recommend using an RL library like RLlib for training, as it properly parallelized environment sampling (as opposed to Stable Baselines, which requires every rollout to complete the step before taking the next step in parallel).

Please post a minimal example that produces nans, as I have not encountered that issue using a sim_rate of 0.5. Also, not that sim rate is not properly a rate and actually has units of seconds, so if you would like a lower time-fidelity simulation to increase training speed, you will want to use a higher value for sim_rate.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YYan99
Comment options

Answer selected by YYan99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants