diff --git a/deploy/cpp/demo/classifier.cpp b/deploy/cpp/demo/classifier.cpp index e616d0e78fe2eb52eaef7303ee3f5a85570d797b..8b78d7e8975642b8d10d6c641c0245cdf661d3d9 100644 --- a/deploy/cpp/demo/classifier.cpp +++ b/deploy/cpp/demo/classifier.cpp @@ -57,8 +57,7 @@ int main(int argc, char** argv) { FLAGS_use_gpu, FLAGS_use_trt, FLAGS_gpu_id, - FLAGS_key, - FLAGS_batch_size); + FLAGS_key); // 进行预测 double total_running_time_s = 0.0; diff --git a/deploy/cpp/demo/detector.cpp b/deploy/cpp/demo/detector.cpp index 07bb7665537a8b7ee9d3bd40694eb6368938321e..5b4e3a2ba9d2c921cf23774a17e34e0c8e26cc2a 100644 --- a/deploy/cpp/demo/detector.cpp +++ b/deploy/cpp/demo/detector.cpp @@ -62,8 +62,7 @@ int main(int argc, char** argv) { FLAGS_use_gpu, FLAGS_use_trt, FLAGS_gpu_id, - FLAGS_key, - FLAGS_batch_size); + FLAGS_key); double total_running_time_s = 0.0; double total_imread_time_s = 0.0; diff --git a/deploy/cpp/demo/segmenter.cpp b/deploy/cpp/demo/segmenter.cpp index b9a81886414dc6505b9e82a8f79588d2faf42a2f..7dd48e551890f3c8e4550694c45bc3f84088ec0a 100644 --- a/deploy/cpp/demo/segmenter.cpp +++ b/deploy/cpp/demo/segmenter.cpp @@ -59,8 +59,7 @@ int main(int argc, char** argv) { FLAGS_use_gpu, FLAGS_use_trt, FLAGS_gpu_id, - FLAGS_key, - FLAGS_batch_size); + FLAGS_key); double total_running_time_s = 0.0; double total_imread_time_s = 0.0;