Skip to content

Commit

Permalink
change default setting
Browse files Browse the repository at this point in the history
  • Loading branch information
fsx950223 committed Apr 18, 2022
1 parent c5231d2 commit eda6c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efficientdet/tf2/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def nms(params, boxes: T, scores: T, classes: T,
score_thresh = nms_configs['score_thresh'] or float('-inf')
elif method == 'gaussian':
sigma = nms_configs['sigma'] or 0.5
iou_thresh = 1.0
iou_thresh = 0.5
score_thresh = nms_configs['score_thresh'] or 0.001
else:
raise ValueError('Inference has invalid nms method {}'.format(method))
Expand Down

0 comments on commit eda6c82

Please sign in to comment.