Commit 2960e1e2 authored by Federico Rossi's avatar Federico Rossi

fix

parent 1f67f046
......@@ -48,7 +48,7 @@ void recognize(const std::string &net, const std::string &src_filename,int numte
}
auto end = get_time::now();
auto diff = end - start;
make_test_report(test_images,successes,times,std::chrono::duration_cast<ms>(diff).count(),"../../../plot/cf_test_perf_");
make_test_report(test_images,successes,times,std::chrono::duration_cast<ms>(diff).count(),double(std::chrono::duration_cast<ms>(diff).count())/double(numtest),"../../../plot/cf_test_perf_");
std::cout << "Accuracy: " << successes << "/" << test_images.size() << "\n";
std::cout << "Time elapsed: " << std::chrono::duration_cast<ms>(diff).count() << "ms\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment