diff --git a/example/PennFudanPed/pfp/evaluator.py b/example/PennFudanPed/pfp/evaluator.py index 5f7847df10..45fd247339 100644 --- a/example/PennFudanPed/pfp/evaluator.py +++ b/example/PennFudanPed/pfp/evaluator.py @@ -145,9 +145,7 @@ def make_coco_evaluator(ann_list, iou_types) -> CocoEvaluator: "image_id": _a.image_id, "category_id": _a.category_id, "area": _a.area, - # FIXME: (workaround) convert tuple to list. - # in the server side, the bbox is changed to tuple type, but in the client side, it is list type. - "bbox": list(_a.bbox) if isinstance(_a.bbox, tuple) else _a.bbox, + "bbox": _a.bbox, "iscrowd": _a.iscrowd, "segmentation": _a.segmentation, }