Skip to content

Commit

Permalink
reformat (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcakyon authored Dec 14, 2021
1 parent 4db7f3f commit b76368d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sahi/scripts/coco_error_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,9 @@ def _analyze_results(
catIds = cocoGt.getCatIds()
recThrs = cocoEval.params.recThrs
with Pool(processes=48) as pool:
args = [(k, cocoDt, cocoGt, catId, iou_type, areas, max_detections, COCOeval) for k, catId in enumerate(catIds)]
args = [
(k, cocoDt, cocoGt, catId, iou_type, areas, max_detections, COCOeval) for k, catId in enumerate(catIds)
]
analyze_results = pool.starmap(_analyze_individual_category, args)
for k, catId in enumerate(catIds):
nm = cocoGt.loadCats(catId)[0]
Expand Down

0 comments on commit b76368d

Please sign in to comment.