Commit 5ab3ae8c9a4915d55f327bacd854d4bf36b15ee2
1 parent
31c9a569
typo
Showing
1 changed file
with
4 additions
and
4 deletions
openbr/core/eval.cpp
| @@ -1097,16 +1097,16 @@ float EvalLandmarking(const QString &predictedGallery, const QString &truthGalle | @@ -1097,16 +1097,16 @@ float EvalLandmarking(const QString &predictedGallery, const QString &truthGalle | ||
| 1097 | for (int i=0; i<totalExamples; i++) { | 1097 | for (int i=0; i<totalExamples; i++) { |
| 1098 | Enroll(truth[exampleIndices[i].second],"landmarking_examples_truth"); | 1098 | Enroll(truth[exampleIndices[i].second],"landmarking_examples_truth"); |
| 1099 | lines.append("EXT,landmarking_examples_truth/"+truth[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); | 1099 | lines.append("EXT,landmarking_examples_truth/"+truth[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); |
| 1100 | - Enroll(predicted[exampleIndices[i].second],"landmarking_examples_prediced"); | ||
| 1101 | - lines.append("EXP,landmarking_examples_prediced/"+predicted[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); | 1100 | + Enroll(predicted[exampleIndices[i].second],"landmarking_examples_predicted"); |
| 1101 | + lines.append("EXP,landmarking_examples_predicted/"+predicted[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); | ||
| 1102 | 1102 | ||
| 1103 | } | 1103 | } |
| 1104 | 1104 | ||
| 1105 | for (int i=exampleIndices.size()-1; i>exampleIndices.size()-totalExamples-1; i--) { | 1105 | for (int i=exampleIndices.size()-1; i>exampleIndices.size()-totalExamples-1; i--) { |
| 1106 | Enroll(truth[exampleIndices[i].second],"landmarking_examples_truth"); | 1106 | Enroll(truth[exampleIndices[i].second],"landmarking_examples_truth"); |
| 1107 | lines.append("EXT,landmarking_examples_truth/"+truth[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); | 1107 | lines.append("EXT,landmarking_examples_truth/"+truth[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); |
| 1108 | - Enroll(predicted[exampleIndices[i].second],"landmarking_examples_prediced"); | ||
| 1109 | - lines.append("EXP,landmarking_examples_prediced/"+predicted[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); | 1108 | + Enroll(predicted[exampleIndices[i].second],"landmarking_examples_predicted"); |
| 1109 | + lines.append("EXP,landmarking_examples_predicted/"+predicted[exampleIndices[i].second].file.fileName()+","+QString::number(exampleIndices[i].first)); | ||
| 1110 | 1110 | ||
| 1111 | } | 1111 | } |
| 1112 | 1112 |