torchrl.trainers.algorithms.configs.envs_libs.MOGymEnvConfig¶
- class torchrl.trainers.algorithms.configs.envs_libs.MOGymEnvConfig(_partial_: bool = False, env_name: str = '???', categorical_action_encoding: bool = False, from_pixels: bool = False, pixels_only: bool = True, frame_skip: int | None = None, device: str = 'cpu', batch_size: list[int] | None = None, allow_done_after_reset: bool = False, convert_actions_to_numpy: bool = True, missing_obs_value: Any = None, backend: str | None = None, disable_env_checker: bool | None = None, render_mode: str | None = None, num_envs: int = 0, _target_: str = 'torchrl.envs.libs.gym.MOGymEnv')[source]¶
Configuration for MOGymEnv environment.