From 4aad922f5096aea1798d34be0411005a274fcb5c Mon Sep 17 00:00:00 2001 From: leiqing <54695910+leiqing1@users.noreply.github.com> Date: Thu, 18 Aug 2022 19:44:25 +0800 Subject: [PATCH] Update README.md --- examples/vision/facedet/yolov5face/python/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/vision/facedet/yolov5face/python/README.md b/examples/vision/facedet/yolov5face/python/README.md index f3bfcb9f0..a029cb839 100644 --- a/examples/vision/facedet/yolov5face/python/README.md +++ b/examples/vision/facedet/yolov5face/python/README.md @@ -8,15 +8,14 @@ 本目录下提供`infer.py`快速完成YOLOv5Face在CPU/GPU,以及GPU上通过TensorRT加速部署的示例。执行如下脚本即可完成 ``` -#下载YOLOv5Face模型文件和测试图片 -wget https://bj.bcebos.com/paddlehub/fastdeploy/yolov5s-face.onnx -wget https://raw.githubusercontent.com/DefTruth/lite.ai.toolkit/main/examples/lite/resources/test_lite_face_detector_3.jpg - - #下载部署示例代码 git clone https://github.com/PaddlePaddle/FastDeploy.git cd examples/vision/facedet/yolov5face/python/ +#下载YOLOv5Face模型文件和测试图片 +wget https://bj.bcebos.com/paddlehub/fastdeploy/yolov5s-face.onnx +wget https://raw.githubusercontent.com/DefTruth/lite.ai.toolkit/main/examples/lite/resources/test_lite_face_detector_3.jpg + # CPU推理 python infer.py --model yolov5s-face.onnx --image test_lite_face_detector_3.jpg --device cpu # GPU推理