mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
fix typo in comment
This commit is contained in:
parent
a2e45f00b2
commit
253745d29f
@ -157,7 +157,7 @@ namespace dlib
|
||||
std::vector<std::pair<double,int> > temp;
|
||||
temp.reserve(true_detections.size()+false_detections.size());
|
||||
// We use -1 for true labels and +1 for false so when we call std::sort() below it will sort
|
||||
// runs with equal detection scores so true come first. This will avoid it seeming like we
|
||||
// runs with equal detection scores so false come first. This will avoid it seeming like we
|
||||
// can separate true from false when scores are equal in the loop below.
|
||||
const int true_label = -1;
|
||||
const int false_label = +1;
|
||||
|
Loading…
Reference in New Issue
Block a user