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

Envs seem not to work in parallel #31

Open
AgentEXPL opened this issue Jul 21, 2022 · 0 comments
Open

Envs seem not to work in parallel #31

AgentEXPL opened this issue Jul 21, 2022 · 0 comments

Comments

@AgentEXPL
Copy link

Only one Data worker is working since config.num_actors=1. Inside one Data worker, there are several working envs. But they works in in serial rather than in parallel, as follows.
for i in range(env_nums): obs, ori_reward, done, info = env.step(action).
Is it possible to speed up data collection by setting config.num_actors > 1?

@AgentEXPL AgentEXPL changed the title Envs seems not to work in parallel Envs seem not to work in parallel Jul 21, 2022
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