nvidia.dali.fn.coco_reader#

nvidia.dali.fn.coco_reader(*, annotations_file='', avoid_class_remapping=False, bytes_per_sample_hint=[0], dont_use_mmap=False, file_root=None, image_ids=False, images=None, include_iscrowd=True, initial_fill=1024, lazy_init=False, ltrb=False, num_shards=1, pad_last_batch=False, pixelwise_masks=False, polygon_masks=False, prefetch_queue_depth=1, preprocessed_annotations='', preserve=False, random_shuffle=False, ratio=False, read_ahead=False, save_preprocessed_annotations=False, save_preprocessed_annotations_dir='', seed=-1, shard_id=0, shuffle_after_epoch=False, size_threshold=0.1, skip_cached_images=False, skip_empty=False, stick_to_shard=False, tensor_init_bytes=1048576, device=None, name=None)#

警告

此操作符现已弃用。请使用 readers.coco() 代替。

在 DALI 1.0 中,所有读取器都已移至专用的 readers 子模块,并已重命名以遵循通用模式。这是一个占位符操作符,功能相同,以实现向后兼容性。

用于 readers.coco() 的旧版别名。