Skip to content

Commit 85f1778

Browse files
[Docs] fix ncnn docs (open-mmlab#378)
* fix ncnn docs` * update 0216
1 parent 9dad97e commit 85f1778

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/en/backends/ncnn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## ncnn Support
22

3-
MMDeploy now supports ncnn version == 1.0.20211208
3+
MMDeploy now supports ncnn version == 1.0.20220216
44

55
### Installation
66

@@ -27,7 +27,7 @@ You should ensure your gcc satisfies `gcc >= 6`.
2727

2828
- Download ncnn source code
2929
```bash
30-
git clone -b 20211208 [email protected]:Tencent/ncnn.git
30+
git clone -b 20220216 [email protected]:Tencent/ncnn.git
3131
```
3232

3333
- <font color=red>Make install</font> ncnn library
@@ -82,7 +82,7 @@ If you haven't installed NCNN in the default path, please add `-Dncnn_DIR` flag
8282
8383
#### Reminder
8484
85-
- In ncnn version >= 1.0.20201208, the dimension of ncnn.Mat should be no more than 4.
85+
- In ncnn version >= 1.0.20220216, the dimension of ncnn.Mat should be no more than 4.
8686
8787
### FAQs
8888

docs/en/build/android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ export OPENCV_ANDROID_SDK_DIR=${PWD}/OpenCV-android-sdk
9090
<tr>
9191
<td>ncnn </td>
9292
<td>A high-performance neural network inference computing framework supporting for android.</br>
93-
<b> Now, MMDeploy supports v20211208 and has to use <code>git clone</code> to download it.</b><br>
93+
<b> Now, MMDeploy supports v20220216 and has to use <code>git clone</code> to download it.</b><br>
9494
<pre><code>
95-
git clone -b 20211208 https://github.com/Tencent/ncnn.git
95+
git clone -b 20220216 https://github.com/Tencent/ncnn.git
9696
cd ncnn
9797
git submodule update --init
9898
export NCNN_DIR=${PWD}

docs/en/build/linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export MMDEPLOY_DIR=$(pwd)
330330
3. <b>pplnn</b>: PPL.NN. <code>pplnn_DIR</code> is needed.
331331
<pre><code>-Dpplnn_DIR=${PPLNN_DIR}</code></pre>
332332
4. <b>ncnn</b>: ncnn. <code>ncnn_DIR</code> is needed.
333-
<pre><code>-Dncnn_DIR=${NCNN_DIR}</code></pre>
333+
<pre><code>-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn</code></pre>
334334
5. <b>openvino</b>: OpenVINO. <code>InferenceEngine_DIR</code> is needed.
335335
<pre><code>-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share</code></pre>
336336
6. <b>torchscript</b>: TorchScript. <code>Torch_DIR</code> is needed.

docs/zh_cn/build/android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ export OPENCV_ANDROID_SDK_DIR=${PWD}/OpenCV-android-sdk
9090
<tr>
9191
<td>ncnn </td>
9292
<td>ncnn 是支持 android 平台的高效神经网络推理计算框架</br>
93-
<b> 目前, MMDeploy 支持 ncnn 的 20211208 版本, 且必须使用<code>git clone</code> 下载源码的方式安装</b><br>
93+
<b> 目前, MMDeploy 支持 ncnn 的 20220216 版本, 且必须使用<code>git clone</code> 下载源码的方式安装</b><br>
9494
<pre><code>
95-
git clone -b 20211208 https://github.com/Tencent/ncnn.git
95+
git clone -b 20220216 https://github.com/Tencent/ncnn.git
9696
cd ncnn
9797
git submodule update --init
9898
export NCNN_DIR=${PWD}

docs/zh_cn/build/linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export MMDEPLOY_DIR=$(pwd)
320320
3. <b>pplnn</b>: 表示 PPL.NN。需要设置 <code>pplnn_DIR</code>
321321
<pre><code>-Dpplnn_DIR=${PPLNN_DIR}</code></pre>
322322
4. <b>ncnn</b>: 表示 ncnn。需要设置 <code>ncnn_DIR</code>
323-
<pre><code>-Dncnn_DIR=${NCNN_DIR}</code></pre>
323+
<pre><code>-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn</code></pre>
324324
5. <b>openvino</b>: 表示 OpenVINO。需要设置 <code>InferenceEngine_DIR</code>
325325
<pre><code>-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share</code></pre>
326326
6. <b>torchscript</b>: TorchScript. 需要设置<code>Torch_DIR</code>

0 commit comments

Comments
 (0)