Skip to content

Commit

Permalink
Apply pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Jan 24, 2022
1 parent 88a4c22 commit a1f9059
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions yolort/runtime/yolo_graphsurgeon.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ def register_nms(

op = "EfficientNMS_TRT"
attrs = {
'plugin_version': "1",
'background_class': -1, # no background class
'max_output_boxes': detections_per_img,
'score_threshold': score_thresh,
'iou_threshold': nms_thresh,
'score_activation': False,
'box_coding': 0,
"plugin_version": "1",
"background_class": -1, # no background class
"max_output_boxes": detections_per_img,
"score_threshold": score_thresh,
"iou_threshold": nms_thresh,
"score_activation": False,
"box_coding": 0,
}

# NMS Outputs
Expand Down

0 comments on commit a1f9059

Please sign in to comment.