857cb1f38abfc3f467b6a8e53ae54365e05fcff2,deeplabcut/generate_training_dataset/labeling_toolbox.py,MainFrame,browseDir,#MainFrame#Any#,348

Before Change


        //self.labeled_imgs = np.sort(glob.glob(os.path.join(self.dir,"*_labeled.png")))
        //self.index = np.sort(list(set(self.index) - set(self.labeled_imgs)))
        self.statusbar.SetStatusText("Working on folder: {}".format(os.path.split(str(self.dir))[-1]))
        print("Working on folder: {}".format(os.path.split(str(self.dir))[-1]))
        self.relativeimagenames=["labeled"+n.split("labeled")[1] for n in self.index]//[n.split(self.project_path+"/")[1] for n in self.index]

        self.iter = 0

After Change


                values = self.dataFrame.loc[j,:].values
                if np.prod(np.isnan(values)) == 1:
                    self.iter = idx
                    break
                else:
                    self.iter = idx
                    
        except:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 857cb1f38abfc3f467b6a8e53ae54365e05fcff2
Time: 2019-02-23
Author: amathis@fas.harvard.edu
File Name: deeplabcut/generate_training_dataset/labeling_toolbox.py
Class Name: MainFrame
Method Name: browseDir


Project Name: microsoft/nni
Commit Name: 19173aa4370e36cba96ee7049eaaa0dceda5007c
Time: 2019-08-14
Author: suiguoxin@gmail.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: main


Project Name: microsoft/nni
Commit Name: eaf421206d42537f956f46ba2945335d060e21ea
Time: 2019-08-11
Author: suiguoxin@gmail.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: main