Skip to content
New issue

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

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

Already on GitHub? # to your account

Question about n_show and n_maps in ParallelRLEnv #369

Open
shivakanthsujit opened this issue Dec 16, 2022 · 0 comments
Open

Question about n_show and n_maps in ParallelRLEnv #369

shivakanthsujit opened this issue Dec 16, 2022 · 0 comments

Comments

@shivakanthsujit
Copy link

In the ParallelRLEnv class, I am having a doubt if the environment instances above the number set for n_show perform a function? Because in the class when you inherit from VecEnv of stable-baselines3 you set the num_envs to n_show. So an agent from SB3 will be able to interact only with those agents that are in n_show. Even in the step function of ParallelRLEnv, there is a check that the actions are given only for n_show envs.

So if n_maps is 20 and n_show is 12, is there any reason to have the extra 8 env instances since you can neither interact with them nor get observations from them.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant