How to use the learn2learn.gym.envs.meta_env.MetaEnv.set_task function in learn2learn

To help you get started, we’ve selected a few learn2learn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github learnables / learn2learn / learn2learn / gym / envs / mujoco / ant_forward_backward.py View on Github external
def set_task(self, task):
        MetaEnv.set_task(self, task)
        self.goal_direction = task['direction']
github learnables / learn2learn / learn2learn / gym / envs / mujoco / humanoid_direction.py View on Github external
def set_task(self, task):
        MetaEnv.set_task(self, task)
        self.goal_direction = task['direction']
github learnables / learn2learn / learn2learn / gym / envs / mujoco / ant_direction.py View on Github external
def set_task(self, task):
        MetaEnv.set_task(self, task)
        self.goal_direction = task['direction']
github learnables / learn2learn / learn2learn / gym / envs / mujoco / halfcheetah_forward_backward.py View on Github external
def set_task(self, task):
        MetaEnv.set_task(self, task)
        self.goal_direction = task['direction']
github learnables / learn2learn / learn2learn / gym / envs / mujoco / humanoid_forward_backward.py View on Github external
def set_task(self, task):
        MetaEnv.set_task(self, task)
        self.goal_direction = task['direction']