提交 cca7cd1e 编写于 作者: T tink2123

add qps

上级 06379abf
...@@ -156,7 +156,9 @@ The recognition model is the same. ...@@ -156,7 +156,9 @@ The recognition model is the same.
Multiple service requests can be sent at the same time if necessary. Multiple service requests can be sent at the same time if necessary.
The predicted performance data will be automatically written into the `PipelineServingLogs/pipeline.tracer` file: The predicted performance data will be automatically written into the `PipelineServingLogs/pipeline.tracer` file.
Tested on 200 real pictures, and limited the detection long side to 960. The average QPS on T4 GPU can reach around 13:
``` ```
2021-05-12 10:03:24,812 ==================== TRACER ====================== 2021-05-12 10:03:24,812 ==================== TRACER ======================
......
...@@ -153,7 +153,9 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in ...@@ -153,7 +153,9 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in
``` ```
有需要的话可以同时发送多个服务请求 有需要的话可以同时发送多个服务请求
预测性能数据会被自动写入 `PipelineServingLogs/pipeline.tracer` 文件中: 预测性能数据会被自动写入 `PipelineServingLogs/pipeline.tracer` 文件中。
在200张真实图片上测试,把检测长边限制为960。T4 GPU 上 QPS 均值可达到13左右:
``` ```
2021-05-12 10:03:24,812 ==================== TRACER ====================== 2021-05-12 10:03:24,812 ==================== TRACER ======================
...@@ -191,6 +193,8 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in ...@@ -191,6 +193,8 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in
2021-05-12 10:03:24,910 chl2(In: ['rec'], Out: ['@DAGExecutor']) size[0/0] 2021-05-12 10:03:24,910 chl2(In: ['rec'], Out: ['@DAGExecutor']) size[0/0]
``` ```
<a name="FAQ"></a> <a name="FAQ"></a>
## FAQ ## FAQ
**Q1**: 发送请求后没有结果返回或者提示输出解码报错 **Q1**: 发送请求后没有结果返回或者提示输出解码报错
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册