normalize goal data

This commit is contained in:
Bart Moyaers
2019-07-02 12:02:11 +02:00
parent 9e5d7a803b
commit 10bf82c7b0

View File

@@ -165,8 +165,8 @@ class PyBulletDeepMimicEnv(Env):
return ctrl_size - root_size return ctrl_size - root_size
def build_goal_norm_groups(self, agent_id): def build_goal_norm_groups(self, agent_id):
# Perform no normalization on goal data # Perform normalization on goal data
return np.array([-1] * len(self.goal.getTFData())) return np.array([0] * len(self.goal.getTFData()))
def build_goal_offset(self, agent_id): def build_goal_offset(self, agent_id):
# no offset # no offset