Skip to content

Commit b0973e8

Browse files
committed
update ytvis_hq_api
1 parent e19695d commit b0973e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocoapi_hq/PythonAPI/pycocotools/ytvoseval.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def computeIoU(self, vidId, catId):
195195
dt=dt[0:p.maxDets[-1]]
196196

197197
if p.iouType == 'segm':
198-
g = [g['segmentations_refined'] for g in gt]
198+
g = [g['segmentations'] for g in gt]
199199
d = [d['segmentations'] for d in dt]
200200
elif p.iouType == 'bbox':
201201
g = [g['bboxes'] for g in gt]
@@ -244,7 +244,7 @@ def computeBoundaryIoU(self, vidId, catId):
244244

245245
assert p.iouType == 'boundary'
246246

247-
g_m = [g['segmentations_refined'] for g in gt]
247+
g_m = [g['segmentations'] for g in gt]
248248
d_m = [d['segmentations'] for d in dt]
249249

250250
g_b = [g['boundary_list'] for g in gt]

0 commit comments

Comments
 (0)