ed1323aa16f4a5a1b17d32080ae40e1103ec6cca,gluon/coco_seg_dataset.py,COCOSegDataset,__init__,#COCOSegDataset#Any#Any#Any#,24

Before Change


        self.coco = COCO(annotations_file_path)
        self.coco_mask = mask
        if os.path.exists(idx_file_path):
            with open(idx_file_path, "rb") as f:
                self.ids = pickle.load(f)
        else:
            ids = list(self.coco.imgs.keys())
            self.ids = self._preprocess(ids, idx_file_path)
        self.transform = transform

After Change


        self.coco = COCO(annotations_file_path)
        self.coco_mask = coco_mask
        if os.path.exists(idx_file_path):
            self.idx = np.load(idx_file_path)
        else:
            idx_list = list(self.coco.imgs.keys())
            self.idx = self._filter_idx(idx_list, idx_file_path)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: osmr/imgclsmob
Commit Name: ed1323aa16f4a5a1b17d32080ae40e1103ec6cca
Time: 2019-04-02
Author: osemery@gmail.com
File Name: gluon/coco_seg_dataset.py
Class Name: COCOSegDataset
Method Name: __init__


Project Name: AlexEMG/DeepLabCut
Commit Name: 1677956a4b393c78474612e3f540a9abdf3a3664
Time: 2019-01-16
Author: amathis@fas.harvard.edu
File Name: deeplabcut/utils/auxiliaryfunctions.py
Class Name:
Method Name: read_config


Project Name: biolab/orange3
Commit Name: a9e5de3ef11fde8723ae6cc0f4faaeec5aa05cb7
Time: 2016-05-30
Author: anze.staric@gmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: open_report