Skip to content

Commit cba7889

Browse files
docs: delete legacy comment
1 parent fed5050 commit cba7889

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

focoos/runtime.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def semseg_postprocess(out: List[np.ndarray], im0_shape: Tuple[int, int], conf_t
114114
xyxy = mask_to_xyxy(masks)
115115
return sv.Detections(
116116
mask=masks,
117-
# xyxy is required from supervision
118117
xyxy=xyxy,
119118
class_id=cls_ids,
120119
confidence=confs,
@@ -135,7 +134,6 @@ def instance_postprocess(out: List[np.ndarray], im0_shape: Tuple[int, int], conf
135134
xyxy = mask_to_xyxy(masks)
136135
return sv.Detections(
137136
mask=masks,
138-
# xyxy is required from supervision
139137
xyxy=xyxy,
140138
class_id=cls_ids,
141139
confidence=confs,

0 commit comments

Comments
 (0)