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 achieve parallel simulation with multiple Calvin environments? #75

Open
StarCycle opened this issue Apr 23, 2024 · 1 comment
Open

Comments

@StarCycle
Copy link

No description provided.

@StarCycle StarCycle changed the title How to achieve parallel siimulation with multiple Calvin environments How to achieve parallel simulation with multiple Calvin environments? Apr 23, 2024
@lukashermann
Copy link
Collaborator

Because of pybullet, the easiest method is to run every environment in its own subprocess. For reinforcement learning, Stable Baselines 3 provides a SubprocessVecEnv wrapper for that, read this guide.
When we did our experiments we evaluated multiple checkpoints simultaneously in subprocesses with this script.

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