Down to 20 failing tests (more mitigations of metaworld bug)
This commit is contained in:
parent
1601a87cb1
commit
de118a3113
@ -93,6 +93,7 @@ def test_learn_sub_trajectories(mp_type: str, env_wrap: Tuple[str, Type[RawInter
|
|||||||
for i in range(25):
|
for i in range(25):
|
||||||
if done:
|
if done:
|
||||||
env.reset(seed=SEED)
|
env.reset(seed=SEED)
|
||||||
|
ugly_hack_to_mitigate_metaworld_bug(env) # TODO: Remove, when metaworld fixed it upstream
|
||||||
action = env.action_space.sample()
|
action = env.action_space.sample()
|
||||||
_obs, _reward, terminated, truncated, info = env.step(action)
|
_obs, _reward, terminated, truncated, info = env.step(action)
|
||||||
done = terminated or truncated
|
done = terminated or truncated
|
||||||
|
Loading…
Reference in New Issue
Block a user