未验证 提交 a2d78994 编写于 作者: B Bin Lu 提交者: GitHub

Update README.md

上级 44c32344
...@@ -93,7 +93,7 @@ After the ResNet50_vd inference model is converted, there will be additional fol ...@@ -93,7 +93,7 @@ After the ResNet50_vd inference model is converted, there will be additional fol
|- serving_client_conf.stream.prototxt |- serving_client_conf.stream.prototxt
``` ```
Once you have the deploy model file, you need to change the alias name in serving_server_conf.prototxt: Change 'alias_name' in 'feed_var' to 'image', change 'alias_name' in 'fetch_var' to 'prediction', Once you have the model file for deployment, you need to change the alias name in `serving_server_conf.prototxt`: Change `alias_name` in `feed_var` to `image`, change `alias_name` in `fetch_var` to `prediction`,
The modified serving_server_conf.prototxt file is as follows: The modified serving_server_conf.prototxt file is as follows:
``` ```
feed_var { feed_var {
...@@ -149,15 +149,12 @@ fetch_var { ...@@ -149,15 +149,12 @@ fetch_var {
After successfully running, the predicted result of the model will be printed in the cmd window. An example of the result is: After successfully running, the predicted result of the model will be printed in the cmd window. An example of the result is:
![](./imgs/results.png) ![](./imgs/results.png)
Adjust the number of concurrency in config.yml to get the largest QPS. Generally, the number of concurrent detection and recognition is 2:1 Adjust the number of concurrency in config.yml to get the largest QPS.
``` ```
det: op:
concurrency: 8 concurrency: 8
... ...
rec:
concurrency: 4
...
``` ```
Multiple service requests can be sent at the same time if necessary. Multiple service requests can be sent at the same time if necessary.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册