(coco_op, file_root, annotations_file, polygon_masks, pixelwise_masks)
| 255 | |
| 256 | @pipeline_def(batch_size=batch_size_alias_test, device_id=0, num_threads=4) |
| 257 | def coco_pipe(coco_op, file_root, annotations_file, polygon_masks, pixelwise_masks): |
| 258 | inputs, boxes, labels, *_ = coco_op( |
| 259 | file_root=file_root, |
| 260 | annotations_file=annotations_file, |
| 261 | polygon_masks=polygon_masks, |
| 262 | pixelwise_masks=pixelwise_masks, |
| 263 | ) |
| 264 | return inputs, boxes, labels |
| 265 | |
| 266 | |
| 267 | def test_coco_reader_alias(): |
no outgoing calls
no test coverage detected