Skip to content

Commit

Permalink
lint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurawly committed Mar 16, 2019
1 parent 0ab436d commit 96648c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions topi/python/topi/cuda/ssd/multibox.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def multibox_detection_gpu(cls_prob, loc_pred, anchor, clip=True, threshold=0.01
"""
inter_out = multibox_transform_loc(cls_prob, loc_pred, anchor,
clip, threshold, variances)
out = non_max_suppression(inter_out[0], inter_out[1], max_output_size = -1,
iou_threshold = nms_threshold, force_suppress = force_suppress,
top_k = nms_topk, return_indices=False)
out = non_max_suppression(inter_out[0], inter_out[1], max_output_size=-1,
iou_threshold=nms_threshold, force_suppress=force_suppress,
top_k=nms_topk, return_indices=False)
return out
6 changes: 3 additions & 3 deletions topi/python/topi/vision/ssd/multibox.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def multibox_detection(cls_prob, loc_pred, anchor, clip=True, threshold=0.01, nm
"""
inter_out = multibox_transform_loc(cls_prob, loc_pred, anchor,
clip, threshold, variances)
out = non_max_suppression(inter_out[0], inter_out[1], max_output_size = -1,
iou_threshold = nms_threshold, force_suppress = force_suppress,
top_k = nms_topk, return_indices=False)
out = non_max_suppression(inter_out[0], inter_out[1], max_output_size=-1,
iou_threshold=nms_threshold, force_suppress=force_suppress,
top_k=nms_topk, return_indices=False)
return out

0 comments on commit 96648c3

Please sign in to comment.