Shortcuts

torchrl.trainers.algorithms.configs.envs_libs.GymEnvConfig

class torchrl.trainers.algorithms.configs.envs_libs.GymEnvConfig(_partial_: bool = False, env_name: str = '???', categorical_action_encoding: bool = False, from_pixels: bool = False, pixels_only: bool = True, frame_skip: int = 1, 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, disable_env_checker: bool | None = None, render_mode: str | None = None, num_envs: int = 0, backend: str = 'gymnasium', _target_: str = 'torchrl.trainers.algorithms.configs.envs_libs.make_gym_env')[source]

Configuration for GymEnv environment.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources