(self, cfg)
| 71 | """ |
| 72 | |
| 73 | def __init__(self, cfg): |
| 74 | self.cfg = cfg |
| 75 | self.aug = imgaug.AugmentorList([ |
| 76 | CustomResize(cfg.PREPROC.TRAIN_SHORT_EDGE_SIZE, cfg.PREPROC.MAX_SIZE), |
| 77 | imgaug.Flip(horiz=True) |
| 78 | ]) |
| 79 | |
| 80 | def __call__(self, roidb): |
| 81 | fname, boxes, klass, is_crowd = roidb["file_name"], roidb["boxes"], roidb["class"], roidb["is_crowd"] |
nothing calls this directly
no test coverage detected