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

Understanding parallel environments #888

Open
b-fg opened this issue Sep 20, 2023 · 0 comments
Open

Understanding parallel environments #888

b-fg opened this issue Sep 20, 2023 · 0 comments

Comments

@b-fg
Copy link

b-fg commented Sep 20, 2023

Hi! I wanted to ask some questions about the current implementation of parallel environments in this framework.

As far as I understand, using ParallelPyEnvironment allows to have several environments running in parallel, each of them collection a trajectory of state/action/reward. What is not clear to me is how this is treated in the optimization part of the agents. Are these trajectories then treated individually by the optimizer? Also, what is the difference between ParallelPyEnvironment and BatchedPyEnvironment ?

cc @jerabaul29 and @franalcantara, feel free to ask/add information here :)

Thanks!

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

1 participant