diff --git a/python/paddle_serving_app/README.md b/python/paddle_serving_app/README.md index 65495f4b150a1345162673858f3951402a559f5f..4cc9b4682e12946cf29b76fb4fe09e6f54a6f46d 100644 --- a/python/paddle_serving_app/README.md +++ b/python/paddle_serving_app/README.md @@ -1,6 +1,6 @@ ([简体中文](./README.md)|English) -paddle_serivng_app is a tool component of the Paddle Serving framework, and includes functions such as pre-training model download and data pre-processing methods. +paddle_serving_app is a tool component of the Paddle Serving framework, and includes functions such as pre-training model download and data pre-processing methods. It is convenient for users to quickly test and deploy model examples, analyze the performance of prediction services, and debug model prediction services. ## Install @@ -135,7 +135,7 @@ This tool is convenient to analyze the proportion of time occupancy in the predi 3. Export the information in the log file into a trace file. ```shell - python -m paddle_serving_app.utils.log_to_trace --profile_file profile --trace_file trace + python -m paddle_serving_app.trace --profile_file profile --trace_file trace ``` 4. Open the `chrome: // tracing /` URL using Chrome browser. diff --git a/python/paddle_serving_app/README_CN.md b/python/paddle_serving_app/README_CN.md index 3132d66db3a47a70ef899e8b8a6f4401daad5126..05854556f9428b23c9d2217417f991b271881d06 100644 --- a/python/paddle_serving_app/README_CN.md +++ b/python/paddle_serving_app/README_CN.md @@ -1,6 +1,6 @@ (简体中文|[English](./README_CN.md)) -paddle_serivng_app是Paddle Serving框架的工具组件,包含了预训练模型下载、数据预处理方法等功能。方便用户快速体验和部署模型示例、分析预测服务性能、调试模型预测服务等。 +paddle_serving_app是Paddle Serving框架的工具组件,包含了预训练模型下载、数据预处理方法等功能。方便用户快速体验和部署模型示例、分析预测服务性能、调试模型预测服务等。 ## 安装 @@ -130,7 +130,7 @@ paddle_serving_app针对CV和NLP领域的模型任务,提供了多种常见的 3. 将日志文件中的信息导出成为trace文件 ```shell - python -m paddle_serving_app.utils.log_to_trace --profile_file profile --trace_file trace + python -m paddle_serving_app.trace --profile_file profile --trace_file trace ``` 4. 使用chrome浏览器,打开`chrome://tracing/`网址,通过load按钮加载上一步产生的trace文件,即可将预测服务的各阶段时间信息可视化。 diff --git a/python/paddle_serving_app/utils/log_to_trace.py b/python/paddle_serving_app/trace.py similarity index 100% rename from python/paddle_serving_app/utils/log_to_trace.py rename to python/paddle_serving_app/trace.py