habitat.gym.gym_env_episode_count_wrapper.EnvCountEpisodeWrapper class

Class methods

def class_name()

Methods

def close(self)
def render(self, mode = 'human', **kwargs)
def reset(self, **kwargs) -> typing.Union[ObsType, typing.Tuple[ObsType, dict]]
Resets the environment with kwargs.
def seed(self, seed = None)
def step(self, action: ActType) -> typing.Tuple[ObsType, float, bool, dict]
Steps through the environment with action.

Special methods

def __enter__(self)
Support with-statement for the environment.
def __exit__(self, *args)
Support with-statement for the environment.
def __getattr__(self, name)
def __init__(self, env: gym.core.Env)
A helper wrapper to count the number of episodes available
def __repr__(self)
def __str__(self)

Properties

action_space get set
current_episode: core.dataset.Episode get
metadata: dict get set
np_random: gym.utils.seeding.RandomNumberGenerator get set
Initializes the np_random field if not done already.
number_of_episodes get
observation_space: gym.spaces.space.Space get set
original_action_space get
reward_range: tuple get set
spec get
unwrapped: gym.core.Env get

Data

OBSERVATION_KEY = 'obs'