77ea92f681ad145c755147267d36ec4ba59310c9,rlkit/torch/her/her.py,HER,_get_action_and_info,#HER#,110

Before Change


        goal = self._rollout_goal
        if self.observation_key:
            observation = observation[self.observation_key]
        if self.desired_goal_key:
            goal = self._rollout_goal[self.desired_goal_key]
        new_obs = np.hstack((observation, goal))
        return self.exploration_policy.get_action(new_obs)

    def get_eval_paths(self):

After Change


        :return:
        
        self.exploration_policy.set_num_steps_total(self._n_env_steps_total)
        new_obs = np.hstack((
            observation[self.observation_key],
            observation[self.desired_goal_key],
        ))
        return self.exploration_policy.get_action(new_obs)

    def get_eval_paths(self):
        paths = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: vitchyr/rlkit
Commit Name: 77ea92f681ad145c755147267d36ec4ba59310c9
Time: 2018-12-04
Author: vitchyr@gmail.com
File Name: rlkit/torch/her/her.py
Class Name: HER
Method Name: _get_action_and_info


Project Name: logpai/loglizer
Commit Name: 7c960272c5ab4d25a022538f5849addec3e6bfee
Time: 2019-02-25
Author: zhujm.home@gmail.com
File Name: loglizer/preprocessing.py
Class Name: FeatureExtractor
Method Name: transform


Project Name: danforthcenter/plantcv
Commit Name: c7a53c5c8f87dea0a75feb3f8e19dc6fa495e1e7
Time: 2020-03-24
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/visualize/auto_threshold_methods.py
Class Name:
Method Name: thresholds


Project Name: vitchyr/rlkit
Commit Name: 0030a2dd021c5ae0c67536ab64bbe6bf89c6493e
Time: 2018-11-27
Author: vitchyr@gmail.com
File Name: rlkit/torch/her/her.py
Class Name: HER
Method Name: _get_action_and_info