diff --git a/docs/en/backends/ncnn.md b/docs/en/backends/ncnn.md index dacfadec33..18db4bf2f7 100644 --- a/docs/en/backends/ncnn.md +++ b/docs/en/backends/ncnn.md @@ -1,6 +1,6 @@ ## ncnn Support -MMDeploy now supports ncnn version == 1.0.20211208 +MMDeploy now supports ncnn version == 1.0.20220216 ### Installation @@ -27,7 +27,7 @@ You should ensure your gcc satisfies `gcc >= 6`. - Download ncnn source code ```bash - git clone -b 20211208 git@github.com:Tencent/ncnn.git + git clone -b 20220216 git@github.com:Tencent/ncnn.git ``` - Make install ncnn library @@ -82,7 +82,7 @@ If you haven't installed NCNN in the default path, please add `-Dncnn_DIR` flag #### Reminder -- In ncnn version >= 1.0.20201208, the dimension of ncnn.Mat should be no more than 4. +- In ncnn version >= 1.0.20220216, the dimension of ncnn.Mat should be no more than 4. ### FAQs diff --git a/docs/en/build/android.md b/docs/en/build/android.md index c5bbb3eb17..cfcc7b4bed 100644 --- a/docs/en/build/android.md +++ b/docs/en/build/android.md @@ -90,9 +90,9 @@ export OPENCV_ANDROID_SDK_DIR=${PWD}/OpenCV-android-sdk ncnn A high-performance neural network inference computing framework supporting for android.
- Now, MMDeploy supports v20211208 and has to use git clone to download it.
+ Now, MMDeploy supports v20220216 and has to use git clone to download it.

-git clone -b 20211208 https://github.com/Tencent/ncnn.git
+git clone -b 20220216 https://github.com/Tencent/ncnn.git
 cd ncnn
 git submodule update --init
 export NCNN_DIR=${PWD}
diff --git a/docs/en/build/linux.md b/docs/en/build/linux.md
index 318444cf3e..095c2a364e 100644
--- a/docs/en/build/linux.md
+++ b/docs/en/build/linux.md
@@ -330,7 +330,7 @@ export MMDEPLOY_DIR=$(pwd)
     3. pplnn: PPL.NN. pplnn_DIR is needed.
 
-Dpplnn_DIR=${PPLNN_DIR}
4. ncnn: ncnn. ncnn_DIR is needed. -
-Dncnn_DIR=${NCNN_DIR}
+
-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn
5. openvino: OpenVINO. InferenceEngine_DIR is needed.
-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share
6. torchscript: TorchScript. Torch_DIR is needed. diff --git a/docs/zh_cn/build/android.md b/docs/zh_cn/build/android.md index 9bbe67ea3b..7c7a9f31fa 100644 --- a/docs/zh_cn/build/android.md +++ b/docs/zh_cn/build/android.md @@ -90,9 +90,9 @@ export OPENCV_ANDROID_SDK_DIR=${PWD}/OpenCV-android-sdk ncnn ncnn 是支持 android 平台的高效神经网络推理计算框架
- 目前, MMDeploy 支持 ncnn 的 20211208 版本, 且必须使用git clone 下载源码的方式安装
+ 目前, MMDeploy 支持 ncnn 的 20220216 版本, 且必须使用git clone 下载源码的方式安装

-git clone -b 20211208 https://github.com/Tencent/ncnn.git
+git clone -b 20220216 https://github.com/Tencent/ncnn.git
 cd ncnn
 git submodule update --init
 export NCNN_DIR=${PWD}
diff --git a/docs/zh_cn/build/linux.md b/docs/zh_cn/build/linux.md
index 4dad6d5a6a..627b0d75a3 100644
--- a/docs/zh_cn/build/linux.md
+++ b/docs/zh_cn/build/linux.md
@@ -320,7 +320,7 @@ export MMDEPLOY_DIR=$(pwd)
     3. pplnn: 表示 PPL.NN。需要设置 pplnn_DIR
 
-Dpplnn_DIR=${PPLNN_DIR}
4. ncnn: 表示 ncnn。需要设置 ncnn_DIR -
-Dncnn_DIR=${NCNN_DIR}
+
-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn
5. openvino: 表示 OpenVINO。需要设置 InferenceEngine_DIR
-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share
6. torchscript: TorchScript. 需要设置Torch_DIR