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)
        arm_object_dists = np.linalg.norm(arm_pos - object_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)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: 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


Project Name: tristandeleu/pytorch-maml-rl
Commit Name: a08b197ef170a9d4885cd44bd489df1b067f1012
Time: 2018-06-15
Author: tristan.deleu@gmail.com
File Name: maml_rl/envs/mujoco/half_cheetah_vel.py
Class Name: HalfCheetahVelEnv
Method Name: step