Skip to content

Commit

Permalink
BUGFIX: Fixes the reproducibility issues due to seed non determinism
Browse files Browse the repository at this point in the history
  • Loading branch information
vikashplus committed Oct 10, 2023
1 parent 3564bb2 commit d5a8570
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file added robohive/envs/myo/assets/myo_relief.npy
Binary file not shown.
4 changes: 3 additions & 1 deletion robohive/envs/myo/myochallenge/chasetag_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import os
from enum import Enum

from robohive.envs.myo.base_v0 import BaseV0
from robohive.envs.myo.myobase.walk_v0 import WalkEnvV0
from robohive.utils.quat_math import quat2euler, euler2mat, euler2quat

Expand Down Expand Up @@ -374,7 +375,8 @@ def __init__(self, model_path, obsd_model_path=None, seed=None, **kwargs):
# first construct the inheritance chain, which is just __init__ calls all the way down, with env_base
# creating the sim / sim_obsd instances. Next we run through "setup" which relies on sim / sim_obsd
# created in __init__ to complete the setup.
super().__init__(model_path=model_path, obsd_model_path=obsd_model_path, seed=seed)
# base().__init__(model_path=model_path, obsd_model_path=obsd_model_path, seed=seed)
BaseV0.__init__(self, model_path=model_path, obsd_model_path=obsd_model_path, seed=seed, env_credits=self.MYO_CREDIT)
self._setup(**kwargs)

def _setup(self,
Expand Down
2 changes: 1 addition & 1 deletion robohive/tests/test_myo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_myosuite_envs(self):
self.check_envs('MyoBase Suite', robohive_myobase_suite)


def no_test_myochal_envs(self):
def test_myochal_envs(self):
self.check_envs('MyoChallenge Suite', robohive_myochal_suite)


Expand Down

0 comments on commit d5a8570

Please sign in to comment.