提交 5d46c08b 编写于 作者: J jack

remove debug code

上级 40976960
...@@ -354,9 +354,9 @@ bool Model::predict(const std::vector<cv::Mat> &im_batch, std::vector<DetResult> ...@@ -354,9 +354,9 @@ bool Model::predict(const std::vector<cv::Mat> &im_batch, std::vector<DetResult>
for(int i = 0; i < batch_size; ++i) { for(int i = 0; i < batch_size; ++i) {
max_h = std::max(max_h, inputs_batch_[i].new_im_size_[0]); 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]); max_w = std::max(max_w, inputs_batch_[i].new_im_size_[1]);
std::cout << "(" << inputs_batch_[i].new_im_size_[0] //std::cout << "(" << inputs_batch_[i].new_im_size_[0]
<< ", " << inputs_batch_[i].new_im_size_[1] // << ", " << inputs_batch_[i].new_im_size_[1]
<< ")" << std::endl; // << ")" << std::endl;
} }
thread_num = std::min(thread_num, batch_size); thread_num = std::min(thread_num, batch_size);
#pragma omp parallel for num_threads(thread_num) #pragma omp parallel for num_threads(thread_num)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册