Skip to content

Commit

Permalink
Refactor InplaceEval
Browse files Browse the repository at this point in the history
  • Loading branch information
bhklein committed Nov 10, 2023
1 parent 1f62a3e commit fd4e6d4
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 252 deletions.
6 changes: 3 additions & 3 deletions app/br/br.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ class FakeMain : public QRunnable
check((parc >= 2) && (parc <= 3), "Incorrect parameter count for 'pairwiseCompare'.");
br_pairwise_compare(parv[0], parv[1], parc == 3 ? parv[2] : "");
} else if (!strcmp(fun, "inplaceEval")) {
check((parc >= 3) && (parc <= 4), "Incorrect parameter count for 'inplaceEval'.");
br_inplace_eval(parv[0], parv[1], parv[2], parc == 4 ? parv[3] : "");
check(parc == 3, "Incorrect parameter count for 'inplaceEval'.");
br_inplace_eval(parv[0], parv[1], parv[2]);
} else if (!strcmp(fun, "plotDetection")) {
check(parc >= 2, "Incorrect parameter count for 'plotDetection'.");
br_plot_detection(parc-1, parv, parv[parc-1], true);
Expand Down Expand Up @@ -295,7 +295,7 @@ class FakeMain : public QRunnable
"-evalRegression <predicted_gallery> <truth_gallery> <predicted property name> <ground truth property name>\n"
"-evalKNN <knn_graph> <knn_truth> [{csv}]\n"
"-pairwiseCompare <target_gallery> <query_gallery> [{output}]\n"
"-inplaceEval <simmat> <target> <query> [{csv}]\n"
"-inplaceEval <simmat> <mask> {csv}\n"
"-assertEval <simmat> <mask> <accuracy>\n"
"-plotDetection <file> ... <file> {destination}\n"
"-plotLandmarking <file> ... <file> {destination}\n"
Expand Down
Loading

0 comments on commit fd4e6d4

Please sign in to comment.