ankandrew
Feng Wang
commited on
Commit
·
72580cb
1
Parent(s):
de8701c
fix(demo): change ncnn output names in cpp tutorial (#881)
Browse fileschange ncnn output names in cpp tutorial
Co-authored-by: Feng Wang <[email protected]>
- demo/ncnn/cpp/README.md +3 -3
demo/ncnn/cpp/README.md
CHANGED
@@ -22,7 +22,7 @@ Generate ncnn param and bin file.
|
|
22 |
```shell
|
23 |
cd <path of ncnn>
|
24 |
cd build/tools/ncnn
|
25 |
-
./onnx2ncnn yolox.onnx
|
26 |
```
|
27 |
|
28 |
Since Focus module is not supported in ncnn. Warnings like:
|
@@ -32,7 +32,7 @@ Unsupported slice step !
|
|
32 |
will be printed. However, don't worry! C++ version of Focus layer is already implemented in yolox.cpp.
|
33 |
|
34 |
### Step4
|
35 |
-
Open **
|
36 |
Before (just an example):
|
37 |
```
|
38 |
295 328
|
@@ -55,7 +55,7 @@ Concat Concat_40 4 1 652 672 662 682 683 0=0
|
|
55 |
```
|
56 |
YoloV5Focus focus 1 1 images 683
|
57 |
```
|
58 |
-
After(just an
|
59 |
```
|
60 |
286 328
|
61 |
Input images 0 1 images
|
|
|
22 |
```shell
|
23 |
cd <path of ncnn>
|
24 |
cd build/tools/ncnn
|
25 |
+
./onnx2ncnn yolox.onnx model.param model.bin
|
26 |
```
|
27 |
|
28 |
Since Focus module is not supported in ncnn. Warnings like:
|
|
|
32 |
will be printed. However, don't worry! C++ version of Focus layer is already implemented in yolox.cpp.
|
33 |
|
34 |
### Step4
|
35 |
+
Open **model.param**, and modify it.
|
36 |
Before (just an example):
|
37 |
```
|
38 |
295 328
|
|
|
55 |
```
|
56 |
YoloV5Focus focus 1 1 images 683
|
57 |
```
|
58 |
+
After(just an example):
|
59 |
```
|
60 |
286 328
|
61 |
Input images 0 1 images
|