Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run on short episodes? #47

Closed
mctigger opened this issue Mar 28, 2021 · 2 comments
Closed

How to run on short episodes? #47

mctigger opened this issue Mar 28, 2021 · 2 comments

Comments

@mctigger
Copy link

Hello Danijar,
how can I run this code on environments like https://gym.openai.com/envs/InvertedPendulum-v2/ in which the early episodes tend to be very short (5-10 steps)?

Best,
Tim

@danijar
Copy link
Owner

danijar commented Mar 31, 2021

You could set the batch size to (50, 5) to train on very short sequences. I don't know if it'll work.

@mctigger
Copy link
Author

mctigger commented Apr 1, 2021

Okay, thanks I will try that!

@mctigger mctigger closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants