From be48c6dc8a887e3039b9987f5ecc4438b2bc2d14 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 9 Aug 2022 16:18:43 +0800 Subject: [PATCH] Update README.md --- new_examples/vision/detection/yolov7/cpp/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/new_examples/vision/detection/yolov7/cpp/README.md b/new_examples/vision/detection/yolov7/cpp/README.md index 39ee50c37..f65d7ec10 100644 --- a/new_examples/vision/detection/yolov7/cpp/README.md +++ b/new_examples/vision/detection/yolov7/cpp/README.md @@ -17,7 +17,12 @@ tar xvf fastdeploy-linux-x64-0.2.0.tgz cmake .. -DFASTDEPLOY_INSTALL_DIR=${PWD}/fastdeploy-linux-x64-0.2.0 make -j -./infer_demo yolov7.onnx 000001.jpg +# CPU推理 +./infer_demo yolov7.onnx 000001.jpg 0 +# GPU推理 +./infer_demo yolov7.onnx 000001.jpg 1 +# GPU上TensorRT推理 +./infer_demo yolov7.onnx 000001.jpg 2 ``` ## YOLOv7 C++接口