parent
9dad97e1b7
commit
85f17789d1
|
@ -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
|
||||
```
|
||||
|
||||
- <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
|
|||
|
||||
#### 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
|
||||
|
||||
|
|
|
@ -90,9 +90,9 @@ export OPENCV_ANDROID_SDK_DIR=${PWD}/OpenCV-android-sdk
|
|||
<tr>
|
||||
<td>ncnn </td>
|
||||
<td>A high-performance neural network inference computing framework supporting for android.</br>
|
||||
<b> Now, MMDeploy supports v20211208 and has to use <code>git clone</code> to download it.</b><br>
|
||||
<b> Now, MMDeploy supports v20220216 and has to use <code>git clone</code> to download it.</b><br>
|
||||
<pre><code>
|
||||
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}
|
||||
|
|
|
@ -330,7 +330,7 @@ export MMDEPLOY_DIR=$(pwd)
|
|||
3. <b>pplnn</b>: PPL.NN. <code>pplnn_DIR</code> is needed.
|
||||
<pre><code>-Dpplnn_DIR=${PPLNN_DIR}</code></pre>
|
||||
4. <b>ncnn</b>: ncnn. <code>ncnn_DIR</code> is needed.
|
||||
<pre><code>-Dncnn_DIR=${NCNN_DIR}</code></pre>
|
||||
<pre><code>-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn</code></pre>
|
||||
5. <b>openvino</b>: OpenVINO. <code>InferenceEngine_DIR</code> is needed.
|
||||
<pre><code>-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share</code></pre>
|
||||
6. <b>torchscript</b>: TorchScript. <code>Torch_DIR</code> is needed.
|
||||
|
|
|
@ -90,9 +90,9 @@ export OPENCV_ANDROID_SDK_DIR=${PWD}/OpenCV-android-sdk
|
|||
<tr>
|
||||
<td>ncnn </td>
|
||||
<td>ncnn 是支持 android 平台的高效神经网络推理计算框架</br>
|
||||
<b> 目前, MMDeploy 支持 ncnn 的 20211208 版本, 且必须使用<code>git clone</code> 下载源码的方式安装</b><br>
|
||||
<b> 目前, MMDeploy 支持 ncnn 的 20220216 版本, 且必须使用<code>git clone</code> 下载源码的方式安装</b><br>
|
||||
<pre><code>
|
||||
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}
|
||||
|
|
|
@ -320,7 +320,7 @@ export MMDEPLOY_DIR=$(pwd)
|
|||
3. <b>pplnn</b>: 表示 PPL.NN。需要设置 <code>pplnn_DIR</code>
|
||||
<pre><code>-Dpplnn_DIR=${PPLNN_DIR}</code></pre>
|
||||
4. <b>ncnn</b>: 表示 ncnn。需要设置 <code>ncnn_DIR</code>
|
||||
<pre><code>-Dncnn_DIR=${NCNN_DIR}</code></pre>
|
||||
<pre><code>-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn</code></pre>
|
||||
5. <b>openvino</b>: 表示 OpenVINO。需要设置 <code>InferenceEngine_DIR</code>
|
||||
<pre><code>-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share</code></pre>
|
||||
6. <b>torchscript</b>: TorchScript. 需要设置<code>Torch_DIR</code>
|
||||
|
|
Loading…
Reference in New Issue