Skip to content

Commit

Permalink
Update common.h
Browse files Browse the repository at this point in the history
  • Loading branch information
MirrorYuChen authored Jun 22, 2020
1 parent 85dbd6d commit 0a704f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int const NMS(const std::vector<T>& inputs, std::vector<T>* result,
inputs_tmp.assign(inputs.begin(), inputs.end());
std::sort(inputs_tmp.begin(), inputs_tmp.end(),
[](const T& a, const T& b) {
return a.score_ < b.score_;
return a.score_ > b.score_;
});

std::vector<int> indexes(inputs_tmp.size());
Expand Down

0 comments on commit 0a704f2

Please sign in to comment.