f8aeed8e2ba799fd4d964e46479acfd5c768716c,luminoth/tools/dataset/readers/object_detection/imagenet.py,ImageNetReader,iterate,#ImageNetReader#,48
Before Change
self.yielded_records += 1
yield {
"width": width,
"height": height,
"depth": 3,
"filename": annotation["filename"],
"image_raw": image,
"gt_boxes": gt_boxes,
}
def _validate_structure(self):
if not tf.gfile.Exists(self._data_dir):
raise InvalidDataDirectory(
After Change
if len(gt_boxes) == 0:
continue
record = {
"width": width,
"height": height,
"depth": 3,
"filename": annotation["filename"],
"image_raw": image,
"gt_boxes": gt_boxes,
}
self._will_add_record(record)
self.yielded_records += 1
yield record
def _validate_structure(self):
if not tf.gfile.Exists(self._data_dir):
raise InvalidDataDirectory(
In pattern: SUPERPATTERN
Frequency: 6
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/imagenet.py
Class Name: ImageNetReader
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/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/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/coco.py
Class Name: COCOReader
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/taggerine.py
Class Name: TaggerineReader
Method Name: iterate