Exemple #1
0
 def __init__(self, task=None):
     MetaEnv.__init__(self, task)
     MujocoEnv.__init__(self, 'half_cheetah.xml', 5)
     gym.utils.EzPickle.__init__(self)
Exemple #2
0
 def set_task(self, task):
     MetaEnv.set_task(self, task)
     self.goal_direction = task['direction']
 def __init__(self, task=None):
     MetaEnv.__init__(self, task)
     MujocoEnv.__init__(self, 'humanoid.xml', 5)
     gym.utils.EzPickle.__init__(self)