Skip to content

Question about n_show and n_maps in ParallelRLEnv #369

Description

@shivakanthsujit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions