Skip to content

Commit 8535795

Browse files
committed
Fix formatting
1 parent ef9af85 commit 8535795

File tree

3 files changed

+242
-239
lines changed

3 files changed

+242
-239
lines changed

superannotate/input_converters/converters/coco_converters/coco_to_sa_pixel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
logger = logging.getLogger("superannotate-python-sdk")
1414

15+
1516
def annot_to_bitmask(annot):
1617
if isinstance(annot['counts'], list):
1718
bitmask = _maskfrRLE(annot)
@@ -20,6 +21,7 @@ def annot_to_bitmask(annot):
2021

2122
return bitmask
2223

24+
2325
def coco_panoptic_segmentation_to_sa_pixel(coco_path, images_path):
2426
coco_json = json.load(open(coco_path))
2527
hex_colors = blue_color_generator(len(coco_json["categories"]))

0 commit comments

Comments
 (0)