4a4e470321085513f38283c5aa2fd4460b80f58d,chainercv/datasets/pascal_voc/voc_detection_dataset.py,VOCDetectionDataset,get_example,#VOCDetectionDataset#Any#,80

Before Change


                         int(bndbox_anno.find("xmax").text),
                         int(bndbox_anno.find("ymax").text)]
            // make pixel indexes 0-based
            bbox_elem = [float(b - 1) for b in bbox_elem]
            name = obj.find("name").text.lower().strip()
            label.append(self.labels.index(name))
            bbox.append(bbox_elem)
        bbox = np.stack(bbox).astype(np.float32)

After Change


            // substract 1 to make pixel indexes 0-based
            bbox.append([
                int(bndbox_anno.find(tag).text) - 1
                for tag in ("xmin", "ymin", "xmax", "ymax")])
            name = obj.find("name").text.lower().strip()
            label.append(self.labels.index(name))
        bbox = np.stack(bbox).astype(np.float32)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: chainer/chainercv
Commit Name: 4a4e470321085513f38283c5aa2fd4460b80f58d
Time: 2017-03-15
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/datasets/pascal_voc/voc_detection_dataset.py
Class Name: VOCDetectionDataset
Method Name: get_example


Project Name: google/deepvariant
Commit Name: cd7de450d398f1b9b47d176011222386270afa79
Time: 2019-06-11
Author: sidharthgoel@google.com
File Name: deepvariant/vcf_stats.py
Class Name:
Method Name: variants_to_stats_json


Project Name: tflearn/tflearn
Commit Name: 44874bed267e008be9bee5d85a4f4040b854d246
Time: 2017-05-25
Author: aymeric.damien@gmail.com
File Name: examples/images/dcgan.py
Class Name:
Method Name: