From 504e89ba580112f481ff9d8698ea4f7c234ba745 Mon Sep 17 00:00:00 2001 From: wangxinxin08 <69842442+wangxinxin08@users.noreply.github.com> Date: Mon, 28 Mar 2022 20:59:12 +0800 Subject: [PATCH] fix ppyoloe docs, test=document_fix (#5484) --- configs/ppyoloe/README.md | 2 +- configs/ppyoloe/README_cn.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/ppyoloe/README.md b/configs/ppyoloe/README.md index 43f5f6aae..c7d4df813 100644 --- a/configs/ppyoloe/README.md +++ b/configs/ppyoloe/README.md @@ -92,7 +92,7 @@ python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o weig Exporting PP-YOLOE for Paddle Inference **with TensorRT** for better performance, use following command with extra `-o trt=True` setting. ```bash -python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams -o trt=True +python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams trt=True ``` `deploy/python/infer.py` is used to load exported paddle inference model above for inference and benchmark through PaddleInference. diff --git a/configs/ppyoloe/README_cn.md b/configs/ppyoloe/README_cn.md index 4d17454be..32c259667 100644 --- a/configs/ppyoloe/README_cn.md +++ b/configs/ppyoloe/README_cn.md @@ -93,7 +93,7 @@ python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o weig 当你使用PaddleInference的TensorRT时,需要指定`-o trt=True`进行导出 ```bash -python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams -o trt=True +python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams trt=True ``` `deploy/python/infer.py`使用上述导出后的PaddleInference模型用于推理和benchnark. -- GitLab