def __init__(self, env_creator): self.env_creator = env_creator self.env = env_creator() ServingEnv.__init__(self, self.env.action_space, self.env.observation_space)
def __init__(self, env): ServingEnv.__init__(self, env.action_space, env.observation_space) self.env = env
def __init__(self): ServingEnv.__init__(self, spaces.Discrete(2), spaces.Box(low=-10, high=10, shape=(4, )))
def __init__(self, env, off_pol_frac): ServingEnv.__init__(self, env.action_space, env.observation_space) self.env = env self.off_pol_frac = off_pol_frac
def __init__(self, env, fixed_action): ServingEnv.__init__(self, env.action_space, env.observation_space) self.env = env self.fixed_action = fixed_action