class ConvertCocoPolysToMask__call__(self, image, target)| 名称 | 类型 | 默认值 |
|---|---|---|
image | — | — |
target | — | — |
copy and modified https://github.com/pytorch/vision/blob/main/references/detection/coco_utils.py Copyright(c) 2023 lyuwenyu. All Rights Reserved.
class ConvertCocoPolysToMask__call__(self, image, target)| 名称 | 类型 | 默认值 |
|---|---|---|
image | — | — |
target | — | — |
convert_coco_poly_to_mask(segmentations, height, width)| 名称 | 类型 | 默认值 |
|---|---|---|
segmentations | — | — |
height | — | — |
width | — | — |
convert_to_coco_api(ds)| 名称 | 类型 | 默认值 |
|---|---|---|
ds | — | — |
get_coco_api_from_dataset(dataset)| 名称 | 类型 | 默认值 |
|---|---|---|
dataset | — | — |