f8aeed8e2ba799fd4d964e46479acfd5c768716c,luminoth/tools/dataset/readers/object_detection/pascalvoc.py,PascalVOCReader,iterate,#PascalVOCReader#,74

Before Change


                except ValueError:
                    continue

                if self._should_skip(label=label_id):
                    continue
                self._per_class_counter[label_id] += 1

                gt_boxes.append({
                    "label": label_id,

After Change


            if len(gt_boxes) == 0:
                continue

            record = {
                "width": annotation["size"]["width"],
                "height": annotation["size"]["height"],
                "depth": annotation["size"]["depth"],
                "filename": annotation["filename"],
                "image_raw": image,
                "gt_boxes": gt_boxes,
            }
            self._will_add_record(record)
            self.yielded_records += 1

            yield record
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: tryolabs/luminoth
Commit Name: f8aeed8e2ba799fd4d964e46479acfd5c768716c
Time: 2018-08-24
Author: dekked@gmail.com
File Name: luminoth/tools/dataset/readers/object_detection/pascalvoc.py
Class Name: PascalVOCReader
Method Name: iterate


Project Name: tryolabs/luminoth
Commit Name: f8aeed8e2ba799fd4d964e46479acfd5c768716c
Time: 2018-08-24
Author: dekked@gmail.com
File Name: luminoth/tools/dataset/readers/object_detection/flat_reader.py
Class Name: FlatReader
Method Name: iterate


Project Name: tryolabs/luminoth
Commit Name: f8aeed8e2ba799fd4d964e46479acfd5c768716c
Time: 2018-08-24
Author: dekked@gmail.com
File Name: luminoth/tools/dataset/readers/object_detection/csv_reader.py
Class Name: CSVReader
Method Name: iterate


Project Name: tryolabs/luminoth
Commit Name: f8aeed8e2ba799fd4d964e46479acfd5c768716c
Time: 2018-08-24
Author: dekked@gmail.com
File Name: luminoth/tools/dataset/readers/object_detection/taggerine.py
Class Name: TaggerineReader
Method Name: iterate


Project Name: tryolabs/luminoth
Commit Name: f8aeed8e2ba799fd4d964e46479acfd5c768716c
Time: 2018-08-24
Author: dekked@gmail.com
File Name: luminoth/tools/dataset/readers/object_detection/imagenet.py
Class Name: ImageNetReader
Method Name: iterate