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.
2 parents 7b403c9 + 2cb7d9c commit a8f2938Copy full SHA for a8f2938
tiatoolbox/models/engine/general_segmentor.py
@@ -247,7 +247,7 @@ def to_annotation(
247
for i in range(len(masks)):
248
polygons = mask_to_polygons(masks[i])
249
# Add extracted polygons to the annotation store
250
- props = {"score": f"{scores[i]}", "type": f"Mask {i+1}"}
+ props = {"score": f"{scores[i]}", "type": f"Mask {i + 1}"}
251
for poly in polygons:
252
annotation = Annotation(geometry=poly, properties=props)
253
store.append(annotation)
0 commit comments