From 10bf82c7b068b4134e1e9f42c86789f328003334 Mon Sep 17 00:00:00 2001 From: Bart Moyaers Date: Tue, 2 Jul 2019 12:02:11 +0200 Subject: [PATCH] normalize goal data --- .../pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py b/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py index cde6a5a76..1052288a1 100644 --- a/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py +++ b/examples/pybullet/gym/pybullet_envs/deep_mimic/env/pybullet_deep_mimic_env.py @@ -165,8 +165,8 @@ class PyBulletDeepMimicEnv(Env): return ctrl_size - root_size def build_goal_norm_groups(self, agent_id): - # Perform no normalization on goal data - return np.array([-1] * len(self.goal.getTFData())) + # Perform normalization on goal data + return np.array([0] * len(self.goal.getTFData())) def build_goal_offset(self, agent_id): # no offset