From f0ec0bde39e39a4a3436a01840acf6399d4d11ac Mon Sep 17 00:00:00 2001 From: Heiru Wu Date: Sat, 26 Oct 2024 13:50:01 +0800 Subject: [PATCH] fix(ray): fix semantic segmentation task parser --- instill/helpers/ray_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instill/helpers/ray_io.py b/instill/helpers/ray_io.py index 268550e..166cb5c 100644 --- a/instill/helpers/ray_io.py +++ b/instill/helpers/ray_io.py @@ -321,7 +321,7 @@ def construct_task_semantic_segmentation_output( for r, cat in zip(rle, category): objects.append({"rle": str(r), "category": str(cat)}) - data["objects"] = objects + data["stuffs"] = objects if isinstance(request, Request): task_outputs.append({"data": data})