From 5d46c08b8107c49c2509ad19af6e60c1cbe2f378 Mon Sep 17 00:00:00 2001 From: jack <136876878@qq.com> Date: Thu, 18 Jun 2020 20:03:35 +0800 Subject: [PATCH] remove debug code --- deploy/cpp/src/paddlex.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/cpp/src/paddlex.cpp b/deploy/cpp/src/paddlex.cpp index 363ca42..3d64b1b 100644 --- a/deploy/cpp/src/paddlex.cpp +++ b/deploy/cpp/src/paddlex.cpp @@ -354,9 +354,9 @@ bool Model::predict(const std::vector &im_batch, std::vector for(int i = 0; i < batch_size; ++i) { max_h = std::max(max_h, inputs_batch_[i].new_im_size_[0]); max_w = std::max(max_w, inputs_batch_[i].new_im_size_[1]); - std::cout << "(" << inputs_batch_[i].new_im_size_[0] - << ", " << inputs_batch_[i].new_im_size_[1] - << ")" << std::endl; + //std::cout << "(" << inputs_batch_[i].new_im_size_[0] + // << ", " << inputs_batch_[i].new_im_size_[1] + // << ")" << std::endl; } thread_num = std::min(thread_num, batch_size); #pragma omp parallel for num_threads(thread_num) -- GitLab