Spaces:
Runtime error
Runtime error
Tobias Cornille
commited on
Commit
·
938273e
1
Parent(s):
8c3fbdd
Fix bitmap file output
Browse files
app.py
CHANGED
@@ -407,7 +407,7 @@ def generate_panoptic_mask(
|
|
407 |
for i, panoptic_name in enumerate(panoptic_names)
|
408 |
]
|
409 |
|
410 |
-
output_file_path = "
|
411 |
stuff_category_ids = [category_name_to_id[name] for name in stuff_category_names]
|
412 |
annotations = inds_to_segments_format(
|
413 |
panoptic_inds, thing_category_ids, stuff_category_ids, output_file_path
|
|
|
407 |
for i, panoptic_name in enumerate(panoptic_names)
|
408 |
]
|
409 |
|
410 |
+
output_file_path = "output_segmentation_bitmap.png"
|
411 |
stuff_category_ids = [category_name_to_id[name] for name in stuff_category_names]
|
412 |
annotations = inds_to_segments_format(
|
413 |
panoptic_inds, thing_category_ids, stuff_category_ids, output_file_path
|