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 73ee6a5 commit 6c3b8acCopy full SHA for 6c3b8ac
examples/visual_inspection_ai.py
@@ -156,7 +156,7 @@ def parse_segmentation_json(
156
width = json["width"]
157
height = json["height"]
158
# TODO 配列と文字で型の互換がないが問題ないか確認
159
- label = json["tags"]
+ label = ", ".join(json["tags"])
160
image_gcs_uri = json["name"]
161
for annotation in json["annotations"]:
162
annotationId = annotation["id"]
@@ -182,10 +182,6 @@ def parse_segmentation_json(
182
return result
183
184
def __make_jsonl(self) -> list:
185
- # TODO 削除
186
- # print(self.figures)
187
- # print(self.figures[0].make_jsonl())
188
- # print(list(map(lambda it: it.make_jsonl(), self.figures)))
189
return list(map(lambda it: it.make_jsonl(), self.figures))
190
191
def as_jsonl(self):
0 commit comments