f5b25f57660910a0a2fdebc3d3a030e14172722c,softlearning/environments/gym/mujoco/pusher_2d_env.py,ForkReacherEnv,compute_reward,#ForkReacherEnv#Any#Any#,158
Before Change
raise NotImplementedError("Might be broken.")
arm_pos = observations[:, -6:-4]
goal_pos = self.get_body_com("goal")[:2][None]
object_pos = observations[:, -3:-1]
arm_goal_dists = np.linalg.norm(arm_pos - goal_pos, axis=1)
After Change
raise NotImplementedError("Might be broken.")
arm_pos = observations[:, -8:-6]
goal_pos = observations[:, -2:]
object_pos = observations[:, -5:-3]
arm_goal_dists = np.linalg.norm(arm_pos - goal_pos, axis=1)
arm_object_dists = np.linalg.norm(arm_pos - object_pos, axis=1)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rail-berkeley/softlearning
Commit Name: f5b25f57660910a0a2fdebc3d3a030e14172722c
Time: 2018-08-03
Author: kristian.hartikainen@gmail.com
File Name: softlearning/environments/gym/mujoco/pusher_2d_env.py
Class Name: ForkReacherEnv
Method Name: compute_reward
Project Name: rail-berkeley/softlearning
Commit Name: b650c4376bcb41c686582da4b9bdf436bddb78e6
Time: 2018-07-09
Author: kristian.hartikainen@gmail.com
File Name: softlearning/environments/pusher.py
Class Name: PusherEnv
Method Name: get_current_obs
Project Name: rail-berkeley/softlearning
Commit Name: f5b25f57660910a0a2fdebc3d3a030e14172722c
Time: 2018-08-03
Author: kristian.hartikainen@gmail.com
File Name: softlearning/environments/rllab/pusher_2d_env.py
Class Name: ForkReacherEnv
Method Name: compute_reward