Closed benblack769 closed 2 years ago
Specifically, helps with variable numbers of agents in the differnet constructors, something like this:
venv = MakeCPUAsyncConstructor(3)([make_env_fn(n_walkers=2), make_env_fn(n_walkers=3), make_env_fn(n_walkers=7), ], observation_space=example_env.observation_space(example_env.possible_agents[0]), action_space=example_env.action_space(example_env.possible_agents[0]),tot_num_envs=2+3+7,metadata={})
Specifically, helps with variable numbers of agents in the differnet constructors, something like this: