Commit 061ca3e8 authored by liucong's avatar liucong
Browse files

去掉CPP文件的推理时间打印

parent 11760f5c
......@@ -32,11 +32,7 @@ int main()
// 推理
std::vector<std::vector<migraphxSamples::ResultOfPrediction>> predictions;
double time1 = cv::getTickCount();
classifier.Classify(srcImages,predictions);
double time2 = cv::getTickCount();
double elapsedTime = (time2 - time1)*1000 / cv::getTickFrequency();
LOG_INFO(stdout, "inference time:%f ms\n", elapsedTime);
// 获取推理结果
LOG_INFO(stdout,"========== Classification Results ==========\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