提交 214a8e5c 编写于 作者: J jack

inputs_batch_.size() -> batch_size

上级 746e0328
......@@ -111,7 +111,7 @@ bool Model::preprocess(const cv::Mat& input_im, ImageBlob* blob) {
// use openmp
bool Model::preprocess(const std::vector<cv::Mat> &input_im_batch, std::vector<ImageBlob> &blob_batch) {
int batch_size = inputs_batch_.size();
int batch_size = input_im_batch.size();
bool success = true;
int max_h = -1;
int max_w = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册