b7823d26168ace38a5137b73a18be1556ea2420d,gqcnn/policy.py,CrossEntropyRobustGraspingPolicy,action,#CrossEntropyRobustGraspingPolicy#Any#,485

Before Change


                grasp_vecs, _ = gmm.sample(n_samples=self._num_gmm_samples)
                grasp_vecs = elite_grasp_std * grasp_vecs + elite_grasp_mean
                sample_duration = time() - sample_start
                logging.debug("GMM sampling took %.3f sec" %(sample_duration))

                // convert features to grasps and store if in segmask
                for grasp_vec in grasp_vecs:
                    if grasp_type == "parallel_jaw":

After Change


                         grasp.center.x >= 0 and grasp.center.x < state.segmask.width and \
                         np.any(state.segmask[int(grasp.center.y), int(grasp.center.x)] != 0)):
                         grasps.append(grasp)
                    logging.debug("Bounds took %.5f sec" %(time()-bounds_start))

            // check num grasps
            num_grasps = len(grasps)
            if num_grasps == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: BerkeleyAutomation/gqcnn
Commit Name: b7823d26168ace38a5137b73a18be1556ea2420d
Time: 2018-02-05
Author: jmahler@berkeley.edu
File Name: gqcnn/policy.py
Class Name: CrossEntropyRobustGraspingPolicy
Method Name: action


Project Name: ilastik/ilastik
Commit Name: 3b5e479b7912ec61ad318f502f364fc60fd055e9
Time: 2013-07-27
Author: thorben.kroeger@iwr.uni-heidelberg.de
File Name: lazyflow/operators/classifierOperators.py
Class Name: OpTrainRandomForestBlocked
Method Name: execute


Project Name: shibing624/pycorrector
Commit Name: 5290b7756074514e6e59e6c63c8023da7a0bf9d1
Time: 2019-07-09
Author: 507153809@qq.com
File Name: pycorrector/detector.py
Class Name: Detector
Method Name: initialize_detector