Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
ad707bde
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 2 年 前同步成功
通知
118
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ad707bde
编写于
7月 04, 2022
作者:
H
HydrogenSulfate
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
slim fleet_train config and fix paddle2onnx for GeneralRecognition model
上级
2e56bec7
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
12 addition
and
6 deletion
+12
-6
test_tipc/config/PP-ShiTu/PPShiTu_general_rec_linux_gpu_normal_normal_paddle2onnx_python_linux_cpu.txt
..._linux_gpu_normal_normal_paddle2onnx_python_linux_cpu.txt
+4
-4
test_tipc/prepare.sh
test_tipc/prepare.sh
+8
-2
未找到文件。
test_tipc/config/PP-ShiTu/PPShiTu_general_rec_linux_gpu_normal_normal_paddle2onnx_python_linux_cpu.txt
浏览文件 @
ad707bde
===========================paddle2onnx_params===========================
model_name:
PP-ShiTu_general_rec
model_name:
GeneralRecognition_PPLCNet_x2_5
python:python3.7
2onnx: paddle2onnx
--model_dir:./deploy/models/general_PPLCNet_x2_5_lite_v1.0_infer/
...
...
@@ -9,8 +9,8 @@ python:python3.7
--opset_version:10
--enable_onnx_checker:True
inference_model_url:https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/general_PPLCNet_x2_5_lite_v1.0_infer.tar
inference:./python/predict_
cls
.py
inference:./python/predict_
rec
.py
Global.use_onnx:True
Global.inference_model_dir:./models/general_PPLCNet_x2_5_lite_v1.0_infer
Global.
rec_
inference_model_dir:./models/general_PPLCNet_x2_5_lite_v1.0_infer
Global.use_gpu:False
-c:configs/inference_cls.yaml
\ No newline at end of file
-c:configs/inference_rec.yaml
\ No newline at end of file
test_tipc/prepare.sh
浏览文件 @
ad707bde
...
...
@@ -85,12 +85,18 @@ if [[ ${MODE} = "cpp_infer" ]]; then
if
[[
!
-d
"./deploy/cpp/paddle_inference/"
]]
;
then
pushd
./deploy/cpp/
PADDLEInfer
=
$3
if
[
""
=
"
$PADDLEInfer
"
]
;
then
if
[
""
=
"
$PADDLEInfer
"
]
;
then
wget
-nc
https://paddle-inference-lib.bj.bcebos.com/2.2.2/cxx_c/Linux/GPU/x86-64_gcc8.2_avx_mkl_cuda10.1_cudnn7.6.5_trt6.0.1.5/paddle_inference.tgz
--no-check-certificate
tar
xf paddle_inference.tgz
else
wget
-nc
${
PADDLEInfer
}
--no-check-certificate
tar_name
=
$(
func_get_url_file_name
"
$PADDLEInfer
"
)
tar
xf
${
tar_name
}
paddle_inference_install_dir
=
${
tar_name
%.*
}
if
[
!
-d
"paddle_inference"
]
;
then
ln
-s
${
paddle_inference_install_dir
}
paddle_inference
fi
fi
tar
xf paddle_inference.tgz
popd
fi
if
[[
$FILENAME
==
*
infer_cpp_linux_gpu_cpu.txt
]]
;
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录