We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1adab commit 0a5a8aaCopy full SHA for 0a5a8aa
labelbox/data/serialization/coco/instance_dataset.py
@@ -36,7 +36,7 @@ def mask_to_coco_object_annotation(
36
image_id=image_id,
37
category_id=category_id,
38
segmentation=[
39
- np.array(s.exterior.coords).ravel().tolist() for s in shapely
+ np.array(s.exterior.coords).ravel().tolist() for s in shapely.geoms
40
],
41
area=area,
42
bbox=[xmin, ymin, xmax - xmin, ymax - ymin],
0 commit comments