807fd45cb2c0c82cdaf1377b5703e90185335826,gqcnn/policy.py,RobustGraspingPolicy,_action,#RobustGraspingPolicy#Any#,412

Before Change


                          show_axis=True,
                          color=plt.cm.RdYlBu(q))
                vis.title("Sampled grasps")
                self.show("grasp_candidates.png")

        // select grasp
        index = self.select(grasps, q_values)
        grasp = grasps[index]

After Change


                vis.title("Sampled grasps")
            filename = None
            if self._logging_dir is not None:
                filename = os.path.join(self._logging_dir, "grasp_candidates.png")
            vis.show(filename)

        // select grasp
        index = self.select(grasps, q_values)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: BerkeleyAutomation/gqcnn
Commit Name: 807fd45cb2c0c82cdaf1377b5703e90185335826
Time: 2018-10-06
Author: jmahl42@gmail.com
File Name: gqcnn/policy.py
Class Name: RobustGraspingPolicy
Method Name: _action


Project Name: nipy/dipy
Commit Name: 0eec3ef9fecfab65bc20b89767d0c1646055a38c
Time: 2015-04-08
Author: garyfallidis@gmail.com
File Name: dipy/viz/tests/test_fvtk_actors.py
Class Name:
Method Name: test_butcher


Project Name: wkentaro/labelme
Commit Name: 5bb577eb329d5c1f6b6b7dddad248b1d657bcbcd
Time: 2020-02-06
Author: www.kentaro.wada@gmail.com
File Name: tests/labelme_tests/test_app.py
Class Name:
Method Name: test_MainWindow_open_json