Skip to content

Commit

Permalink
fix: col slice
Browse files Browse the repository at this point in the history
  • Loading branch information
arabian9ts committed Feb 6, 2018
1 parent 6f5ffad commit 0572464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/ssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def non_maximum_suppression(self, candidates, overlap_threshold):
"""

label = candidates[:,4]
boxes = candidates[label<classes]
boxes = candidates[label<classes-1]

if len(boxes) == 0:
return []
Expand Down

0 comments on commit 0572464

Please sign in to comment.