diff --git a/deploy/cpp/src/object_detector.cc b/deploy/cpp/src/object_detector.cc index 31f2d6d2dc91c1095abc9f8e1edd00f961f8fe1a..c6522f4f113927ea7964320fa462f2b6ba21045e 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__";