Update README.md

This commit is contained in:
leiqing
2022-08-18 19:35:02 +08:00
committed by GitHub
parent e77f379d4e
commit 6679c81e6d

View File

@@ -8,15 +8,15 @@
本目录下提供`infer.py`快速完成YOLOv6在CPU/GPU以及GPU上通过TensorRT加速部署的示例。执行如下脚本即可完成 本目录下提供`infer.py`快速完成YOLOv6在CPU/GPU以及GPU上通过TensorRT加速部署的示例。执行如下脚本即可完成
``` ```
#下载YOLOv6模型文件和测试图片
wget https://bj.bcebos.com/paddlehub/fastdeploy/yolov6s.onnx
wget https://gitee.com/paddlepaddle/PaddleDetection/raw/release/2.4/demo/000000014439.jpg
#下载部署示例代码 #下载部署示例代码
git clone https://github.com/PaddlePaddle/FastDeploy.git git clone https://github.com/PaddlePaddle/FastDeploy.git
cd examples/vison/detection/yolov6/python/ cd examples/vison/detection/yolov6/python/
#下载YOLOv6模型文件和测试图片
wget https://bj.bcebos.com/paddlehub/fastdeploy/yolov6s.onnx
wget https://gitee.com/paddlepaddle/PaddleDetection/raw/release/2.4/demo/000000014439.jpg
# CPU推理 # CPU推理
python infer.py --model yolov6s.onnx --image 000000014439.jpg --device cpu python infer.py --model yolov6s.onnx --image 000000014439.jpg --device cpu
# GPU推理 # GPU推理