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
6c6f88b9
Commit
6c6f88b9
authored
Nov 11, 2021
by
cuicheng01
Browse files
update tipc lite demo
parent
d515dd51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
test_tipc/docs/test_lite_arm_cpu_cpp.md
test_tipc/docs/test_lite_arm_cpu_cpp.md
+1
-1
test_tipc/prepare_lite.sh
test_tipc/prepare_lite.sh
+0
-1
test_tipc/readme.md
test_tipc/readme.md
+2
-2
No files found.
test_tipc/docs/test_lite_arm_cpu_cpp.md
View file @
6c6f88b9
# Lite\_arm\_cpu\_cpp预测功能测试
Lite
\_
arm
\_
cpu
\_
cpp预测功能测试的主程序为
`test_lite_arm_cpu_cpp.sh`
,可以在ARM CPU上基于Lite预测库测试模型C++推理功能。
Lite
\_
arm
\_
cpu
\_
cpp预测功能测试的主程序为
`test_lite_arm_cpu_cpp.sh`
,可以在ARM CPU上基于Lite预测库测试模型
的
C++推理功能。
## 1. 测试结论汇总
...
...
test_tipc/prepare_lite.sh
View file @
6c6f88b9
...
...
@@ -22,7 +22,6 @@ for model in ${lite_model_list[*]}; do
model_file
=
${
model_dir
}
/inference.pdmodel
param_file
=
${
model_dir
}
/inference.pdiparams
paddle_lite_opt
--model_dir
=
${
model_dir
}
--model_file
=
${
model_file
}
--param_file
=
${
param_file
}
--valid_targets
=
arm
--optimize_out
=
${
model_dir
}
_opt
echo
"paddle_lite_opt --model_dir=
${
model_dir
}
--model_file=
${
model_file
}
--param_file=
${
param_file
}
--valid_targets=arm --optimize_out=
${
model_dir
}
_opt"
done
# prepare test data
...
...
test_tipc/readme.md
View file @
6c6f88b9
...
...
@@ -80,7 +80,7 @@ test_tipc/
├── test_train_inference_python.sh
# 测试python训练预测的主程序
├── test_inference_cpp.sh
# 测试c++预测的主程序
├── test_serving.sh
# 测试serving部署预测的主程序
├── test_lite
.sh
# 测试lite
部署
预测的主程序
├── test_lite
_arm_cpu_cpp.sh
# 测试lite
在arm_cpu上部署的C++
预测的主程序
├── compare_results.py
# 用于对比log中的预测结果与results中的预存结果精度误差是否在限定范围内
└── readme.md
# 使用文档
```
...
...
@@ -107,4 +107,4 @@ test_tipc/
[
test_train_inference_python 使用
](
docs/test_train_inference_python.md
)
[
test_inference_cpp 使用
](
docs/test_inference_cpp.md
)
[
test_serving 使用
](
docs/test_serving.md
)
[
test_lite 使用
](
docs/test_lite.md
)
[
test_lite
_arm_cpu_cpp
使用
](
docs/test_lite
_arm_cpu_cpp
.md
)
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