소스 검색

update benchmark for doc_img_orientation (#3260)

cuicheng01 9 달 전
부모
커밋
c138a89d44
1개의 변경된 파일20개의 추가작업 그리고 5개의 파일을 삭제
  1. 20 5
      docs/module_usage/tutorials/ocr_modules/doc_img_orientation_classification.md

+ 20 - 5
docs/module_usage/tutorials/ocr_modules/doc_img_orientation_classification.md

@@ -15,8 +15,8 @@ comments: true
 <tr>
 <th>模型</th><th>模型下载链接</th>
 <th>Top-1 Acc(%)</th>
-<th>GPU推理耗时(ms)</th>
-<th>CPU推理耗时 (ms)</th>
+<th>GPU推理耗时(ms)<br>[常规模式 / 高性能模式]</th>
+<th>CPU推理耗时(ms)<br>[常规模式 / 高性能模式]</th>
 <th>模型存储大小(M)</th>
 <th>介绍</th>
 </tr>
@@ -25,14 +25,29 @@ comments: true
 <tr>
 <td>PP-LCNet_x1_0_doc_ori</td><td><a href="https://paddle-model-ecology.bj.bcebos.com/paddlex/official_inference_model/paddle3.0rc0/PP-LCNet_x1_0_doc_ori_infer.tar">推理模型</a>/<a href="https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-LCNet_x1_0_doc_ori_pretrained.pdparams">训练模型</a></td>
 <td>99.06</td>
-<td>3.84845</td>
-<td>9.23735</td>
+<td>2.31 / 0.43</td>
+<td>3.37 / 1.27</td>
 <td>7</td>
 <td>基于PP-LCNet_x1_0的文档图像分类模型,含有四个类别,即0度,90度,180度,270度</td>
 </tr>
 </tbody>
 </table>
-<b>注:以上精度指标的评估集是自建的数据集,覆盖证件和文档等多个场景,包含 1000 张图片。GPU 推理耗时基于 NVIDIA Tesla T4 机器,精度类型为 FP32, CPU 推理速度基于 Intel(R) Xeon(R) Gold 5117 CPU @ 2.00GHz,线程数为 8,精度类型为 FP32。</b>
+
+**测试环境说明:**
+
+- **性能测试环境**
+  - **测试数据集**:自建多场景数据集(1000张图片,含证件/文档等场景)
+  - **硬件配置**:
+    - GPU:NVIDIA Tesla T4
+    - CPU:Intel Xeon Gold 6271C @ 2.60GHz
+    - 其他环境:Ubuntu 20.04 / cuDNN 8.6 / TensorRT 8.5.2.2
+
+- **推理模式说明**
+
+| 模式        | GPU配置                          | CPU配置          | 加速技术组合                                |
+|-------------|----------------------------------|------------------|---------------------------------------------|
+| 常规模式    | FP32精度 / 无TRT加速             | FP32精度 / 8线程       | PaddleInference                             |
+| 高性能模式  | 选择先验精度类型和加速策略的最优组合         | FP32精度 / 8线程       | 选择先验最优后端(Paddle/OpenVINO/TRT等) |
 
 ## 三、快速集成