From f95da6bebff0f043ac03928fc4f9caa27d48e343 Mon Sep 17 00:00:00 2001 From: qingqing01 Date: Thu, 21 May 2020 10:34:14 -0500 Subject: [PATCH] Fix deploy/cpp/src/object_detector.cc (#755) --- deploy/cpp/src/object_detector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/cpp/src/object_detector.cc b/deploy/cpp/src/object_detector.cc index 31f2d6d2d..c6522f4f1 100644 --- a/deploy/cpp/src/object_detector.cc +++ b/deploy/cpp/src/object_detector.cc @@ -19,8 +19,8 @@ namespace PaddleDetection { // Load Model and create model predictor void ObjectDetector::LoadModel(const std::string& model_dir, bool use_gpu, - const int batch_size, const int min_subgraph_size, + const int batch_size, const std::string& run_mode) { paddle::AnalysisConfig config; std::string prog_file = model_dir + OS_PATH_SEP + "__model__"; -- GitLab