Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
c94feb84
"src/lib/vscode:/vscode.git/clone" did not exist on "d07947885a56c1ff1ace9df4f70b90f546f4642e"
Commit
c94feb84
authored
Nov 12, 2021
by
MissPenguin
Browse files
[TIPC] update cpp infer doc
parent
aef75ec5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test_tipc/docs/test_inference_cpp.md
test_tipc/docs/test_inference_cpp.md
+3
-3
No files found.
test_tipc/docs/test_inference_cpp.md
View file @
c94feb84
...
...
@@ -20,12 +20,12 @@ C++预测功能测试的主程序为`test_inference_cpp.sh`,可以测试基于
先运行
`prepare.sh`
准备数据和模型,然后运行
`test_inference_cpp.sh`
进行测试,最终在
```test_tipc/output```
目录下生成
`cpp_infer_*.log`
后缀的日志文件。
```
shell
bash test_tipc/prepare.sh ./test_tipc/configs/ppocr_det_mobile
_params
.txt
"cpp_infer"
bash test_tipc/prepare.sh ./test_tipc/configs/ppocr_det_mobile
/model_linux_gpu_normal_normal_infer_cpp_linux_gpu_cpu
.txt
"cpp_infer"
# 用法1:
bash test_tipc/test_inference_cpp.sh
./
test_tipc/configs/ppocr_det_mobile
_params
.txt
bash test_tipc/test_inference_cpp.sh test_tipc/configs/ppocr_det_mobile
/model_linux_gpu_normal_normal_infer_cpp_linux_gpu_cpu
.txt
# 用法2: 指定GPU卡预测,第三个传入参数为GPU卡号
bash test_tipc/test_inference_cpp.sh
./
test_tipc/configs/ppocr_det_mobile
_params
.txt
'1'
bash test_tipc/test_inference_cpp.sh test_tipc/configs/ppocr_det_mobile
/model_linux_gpu_normal_normal_infer_cpp_linux_gpu_cpu
.txt
'1'
```
运行预测指令后,在
`test_tipc/output`
文件夹下自动会保存运行日志,包括以下文件:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment