From f750405d680e1dcb6c00a7bc3725e7960bba258e Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Tue, 19 Oct 2021 14:29:39 +0800 Subject: [PATCH] refine mot cmake (#4332) --- deploy/cpp/scripts/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/cpp/scripts/build.sh b/deploy/cpp/scripts/build.sh index cf3ed3981..fbc6a871d 100644 --- a/deploy/cpp/scripts/build.sh +++ b/deploy/cpp/scripts/build.sh @@ -26,8 +26,10 @@ CUDA_LIB=/path/to/cuda/lib CUDNN_LIB=/path/to/cudnn/lib # 是否开启关键点模型预测功能 -WITH_KEYPOINT=ON +WITH_KEYPOINT=OFF +# 是否开启跟踪模型预测功能 +WITH_MOT=OFF MACHINE_TYPE=`uname -m` echo "MACHINE_TYPE: "${MACHINE_TYPE} @@ -77,7 +79,8 @@ cmake .. \ -DCUDNN_LIB=${CUDNN_LIB} \ -DOPENCV_DIR=${OPENCV_DIR} \ -DPADDLE_LIB_NAME=${PADDLE_LIB_NAME} \ - -DWITH_KEYPOINT=${WITH_KEYPOINT} + -DWITH_KEYPOINT=${WITH_KEYPOINT} \ + -DWITH_MOT=${WITH_MOT} make echo "make finished!" -- GitLab