Skip to content

Commit

Permalink
Update tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholasli1995 authored Apr 25, 2022
1 parent 6e9b91e commit 13e3758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/kitti-eval/evaluate_object_3d_offline_r40.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,9 @@ void saveAndPlotPlots(string dir_name,string file_name,string obj_type,vector<do

float sum[3] = {0, 0, 0};
for (int v = 0; v < 3; ++v)
for (int i = 0; i < vals[v].size(); i = i + 1)
for (int i = 1; i < vals[v].size(); i = i + 1)
sum[v] += vals[v][i];
printf("%s AP: %f %f %f\n", file_name.c_str(), sum[0] / 41 * 100, sum[1] / 41 * 100, sum[2] / 41 * 100);
printf("%s AP: %f %f %f\n", file_name.c_str(), sum[0] / 40 * 100, sum[1] / 40 * 100, sum[2] / 40 * 100);


// create png + eps
Expand Down

0 comments on commit 13e3758

Please sign in to comment.