MCPcopy Create free account
hub / github.com/NVIDIA/DALI / coco_pipe

Function coco_pipe

dali/test/python/reader/test_coco.py:257–264  ·  view source on GitHub ↗
(coco_op, file_root, annotations_file, polygon_masks, pixelwise_masks)

Source from the content-addressed store, hash-verified

255
256@pipeline_def(batch_size=batch_size_alias_test, device_id=0, num_threads=4)
257def 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
267def test_coco_reader_alias():

Callers 5

check_coco_reader_aliasFunction · 0.85
test_coco_include_crowdFunction · 0.85
test_coco_pix_mask_ratioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected