From a542e3d969965e3f7db00dc701e993e61d164754 Mon Sep 17 00:00:00 2001 From: wangxinxin08 <69842442+wangxinxin08@users.noreply.github.com> Date: Mon, 19 Apr 2021 11:20:34 +0800 Subject: [PATCH] fix ppyolo docs, test=document_fix (#2690) --- configs/ppyolo/README.md | 2 +- configs/ppyolo/README_cn.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/ppyolo/README.md b/configs/ppyolo/README.md index b1490180e..c178de9d1 100644 --- a/configs/ppyolo/README.md +++ b/configs/ppyolo/README.md @@ -175,7 +175,7 @@ For inference deployment or benchmard, model exported with `tools/export_model.p python tools/export_model.py -c configs/ppyolo/ppyolo_r50vd_dcn_1x_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/ppyolo_r50vd_dcn_1x_coco.pdparams # inference with Paddle Inference library -CUDA_VISIBLE_DEVICES=0 python deploy/python/infer.py --model_dir=output_inference/ppyolo_r50vd_dcn_1x_coco --image_file=../demo/000000014439_640x640.jpg --use_gpu=True +CUDA_VISIBLE_DEVICES=0 python deploy/python/infer.py --model_dir=output_inference/ppyolo_r50vd_dcn_1x_coco --image_file=demo/000000014439_640x640.jpg --use_gpu=True ``` diff --git a/configs/ppyolo/README_cn.md b/configs/ppyolo/README_cn.md index f5a6b18e4..bbd1c0651 100644 --- a/configs/ppyolo/README_cn.md +++ b/configs/ppyolo/README_cn.md @@ -173,7 +173,7 @@ PP-YOLO模型部署及推理benchmark需要通过`tools/export_model.py`导出 python tools/export_model.py -c configs/ppyolo/ppyolo_r50vd_dcn_1x_coco.yml -o weights=https://paddledet.bj.bcebos.com/models/ppyolo_r50vd_dcn_1x_coco.pdparams # 预测库推理 -CUDA_VISIBLE_DEVICES=0 python deploy/python/infer.py --model_dir=output_inference/ppyolo_r50vd_dcn_1x_coco --image_file=../demo/000000014439_640x640.jpg --use_gpu=True +CUDA_VISIBLE_DEVICES=0 python deploy/python/infer.py --model_dir=output_inference/ppyolo_r50vd_dcn_1x_coco --image_file=demo/000000014439_640x640.jpg --use_gpu=True ``` -- GitLab