Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
1079f87b
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1079f87b
编写于
7月 02, 2021
作者:
Z
ZhangYulongg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix ipipe_py3.sh
上级
9183a5ec
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
tools/scripts/ipipe_py3.sh
tools/scripts/ipipe_py3.sh
+5
-5
未找到文件。
tools/scripts/ipipe_py3.sh
浏览文件 @
1079f87b
...
@@ -41,7 +41,7 @@ build_whl_list=(build_cpu_server build_gpu_server build_client build_app)
...
@@ -41,7 +41,7 @@ build_whl_list=(build_cpu_server build_gpu_server build_client build_app)
rpc_model_list
=(
grpc_fit_a_line grpc_yolov4 pipeline_imagenet bert_rpc_gpu bert_rpc_cpu ResNet50_rpc
\
rpc_model_list
=(
grpc_fit_a_line grpc_yolov4 pipeline_imagenet bert_rpc_gpu bert_rpc_cpu ResNet50_rpc
\
lac_rpc cnn_rpc bow_rpc lstm_rpc fit_a_line_rpc deeplabv3_rpc mobilenet_rpc unet_rpc resnetv2_rpc
\
lac_rpc cnn_rpc bow_rpc lstm_rpc fit_a_line_rpc deeplabv3_rpc mobilenet_rpc unet_rpc resnetv2_rpc
\
criteo_ctr_rpc_cpu criteo_ctr_rpc_gpu ocr_rpc yolov4_rpc_gpu faster_rcnn_hrnetv2p_w18_1x_encrypt
\
criteo_ctr_rpc_cpu criteo_ctr_rpc_gpu ocr_rpc yolov4_rpc_gpu faster_rcnn_hrnetv2p_w18_1x_encrypt
\
low_precision_resnet50_int8 ocr_c++_service
)
faster_rcnn_model_rpc
low_precision_resnet50_int8 ocr_c++_service
)
http_model_list
=(
fit_a_line_http lac_http cnn_http bow_http lstm_http ResNet50_http bert_http
\
http_model_list
=(
fit_a_line_http lac_http cnn_http bow_http lstm_http ResNet50_http bert_http
\
pipeline_ocr_cpu_http
)
pipeline_ocr_cpu_http
)
...
@@ -325,7 +325,7 @@ function low_precision_resnet50_int8 () {
...
@@ -325,7 +325,7 @@ function low_precision_resnet50_int8 () {
${
py_version
}
-m
paddle_serving_client.convert
--dirname
ResNet50_quant
${
py_version
}
-m
paddle_serving_client.convert
--dirname
ResNet50_quant
echo
-e
"
${
GREEN_COLOR
}
low_precision_resnet50_int8_GPU_RPC server started
${
RES
}
"
|
tee
-a
${
log_dir
}
server_total.txt
echo
-e
"
${
GREEN_COLOR
}
low_precision_resnet50_int8_GPU_RPC server started
${
RES
}
"
|
tee
-a
${
log_dir
}
server_total.txt
${
py_version
}
-m
paddle_serving_server.serve
--model
serving_server
--port
9393
--gpu_ids
0
--use_trt
--precision
int8
>
${
dir
}
server_log.txt 2>&1 &
${
py_version
}
-m
paddle_serving_server.serve
--model
serving_server
--port
9393
--gpu_ids
0
--use_trt
--precision
int8
>
${
dir
}
server_log.txt 2>&1 &
check_result server 1
0
check_result server 1
5
echo
-e
"
${
GREEN_COLOR
}
low_precision_resnet50_int8_GPU_RPC client started
${
RES
}
"
|
tee
-a
${
log_dir
}
client_total.txt
echo
-e
"
${
GREEN_COLOR
}
low_precision_resnet50_int8_GPU_RPC client started
${
RES
}
"
|
tee
-a
${
log_dir
}
client_total.txt
${
py_version
}
resnet50_client.py
>
${
dir
}
client_log.txt 2>&1
${
py_version
}
resnet50_client.py
>
${
dir
}
client_log.txt 2>&1
check_result client
"low_precision_resnet50_int8_GPU_RPC server test completed"
check_result client
"low_precision_resnet50_int8_GPU_RPC server test completed"
...
@@ -341,7 +341,7 @@ function faster_rcnn_hrnetv2p_w18_1x_encrypt() {
...
@@ -341,7 +341,7 @@ function faster_rcnn_hrnetv2p_w18_1x_encrypt() {
${
py_version
}
encrypt.py
${
py_version
}
encrypt.py
unsetproxy
unsetproxy
echo
-e
"
${
GREEN_COLOR
}
faster_rcnn_hrnetv2p_w18_1x_ENCRYPTION_GPU_RPC server started
${
RES
}
"
|
tee
-a
${
log_dir
}
server_total.txt
echo
-e
"
${
GREEN_COLOR
}
faster_rcnn_hrnetv2p_w18_1x_ENCRYPTION_GPU_RPC server started
${
RES
}
"
|
tee
-a
${
log_dir
}
server_total.txt
${
py_version
}
-m
paddle_serving_server.serve
--model
encrypt_server/
--port
9494
--
use_trt
--
gpu_ids
0
--use_encryption_model
>
${
dir
}
server_log.txt 2>&1 &
${
py_version
}
-m
paddle_serving_server.serve
--model
encrypt_server/
--port
9494
--gpu_ids
0
--use_encryption_model
>
${
dir
}
server_log.txt 2>&1 &
check_result server 3
check_result server 3
echo
-e
"
${
GREEN_COLOR
}
faster_rcnn_hrnetv2p_w18_1x_ENCRYPTION_GPU_RPC client started
${
RES
}
"
|
tee
-a
${
log_dir
}
client_total.txt
echo
-e
"
${
GREEN_COLOR
}
faster_rcnn_hrnetv2p_w18_1x_ENCRYPTION_GPU_RPC client started
${
RES
}
"
|
tee
-a
${
log_dir
}
client_total.txt
${
py_version
}
test_encryption.py 000000570688.jpg
>
${
dir
}
client_log.txt 2>&1
${
py_version
}
test_encryption.py 000000570688.jpg
>
${
dir
}
client_log.txt 2>&1
...
@@ -536,7 +536,7 @@ function faster_rcnn_model_rpc() {
...
@@ -536,7 +536,7 @@ function faster_rcnn_model_rpc() {
data_dir
=
${
data
}
detection/faster_rcnn_r50_fpn_1x_coco/
data_dir
=
${
data
}
detection/faster_rcnn_r50_fpn_1x_coco/
link_data
${
data_dir
}
link_data
${
data_dir
}
sed
-i
's/9494/8870/g'
test_client.py
sed
-i
's/9494/8870/g'
test_client.py
${
py_version
}
-m
paddle_serving_server.serve
--model
serving_server
--port
8870
--gpu_ids
0
--thread
2
--use_trt
>
${
dir
}
server_log.txt 2>&1 &
${
py_version
}
-m
paddle_serving_server.serve
--model
serving_server
--port
8870
--gpu_ids
0
--thread
2
>
${
dir
}
server_log.txt 2>&1 &
echo
"faster rcnn running ..."
echo
"faster rcnn running ..."
nvidia-smi
nvidia-smi
check_result server 10
check_result server 10
...
@@ -835,7 +835,7 @@ function grpc_yolov4() {
...
@@ -835,7 +835,7 @@ function grpc_yolov4() {
link_data
${
data_dir
}
link_data
${
data_dir
}
echo
-e
"
${
GREEN_COLOR
}
grpc_impl_example_yolov4_GPU_gRPC server started
${
RES
}
"
echo
-e
"
${
GREEN_COLOR
}
grpc_impl_example_yolov4_GPU_gRPC server started
${
RES
}
"
${
py_version
}
-m
paddle_serving_server.serve
--model
yolov4_model
--port
9393
--gpu_ids
0
--use_multilang
>
${
dir
}
server_log.txt 2>&1 &
${
py_version
}
-m
paddle_serving_server.serve
--model
yolov4_model
--port
9393
--gpu_ids
0
--use_multilang
>
${
dir
}
server_log.txt 2>&1 &
check_result server 1
0
check_result server 1
5
echo
-e
"
${
GREEN_COLOR
}
grpc_impl_example_yolov4_GPU_gRPC client started
${
RES
}
"
echo
-e
"
${
GREEN_COLOR
}
grpc_impl_example_yolov4_GPU_gRPC client started
${
RES
}
"
${
py_version
}
test_client.py 000000570688.jpg
>
${
dir
}
client_log.txt 2>&1
${
py_version
}
test_client.py 000000570688.jpg
>
${
dir
}
client_log.txt 2>&1
check_result client
"grpc_yolov4_GPU_GRPC server test completed"
check_result client
"grpc_yolov4_GPU_GRPC server test completed"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录