Commit cd05e0f0 authored by shizhm's avatar shizhm
Browse files

完善文档

parent 28602b9a
......@@ -56,12 +56,7 @@ cd Python/
1. 静态推理
```
python YoloV5_infer_migraphx.py \
--imgPath 测试图像路径 \
--staticModelPath onnx模型路径 \
--objectThreshold 判断是否有物体阈值,默认0.5 \
--confThreshold 置信度阈值,默认0.25 \
--nmsThreshold nms阈值,默认0.5 \
python YoloV5_infer_migraphx.py --staticInfer
```
程序运行结束后,在当前目录生成YOLOV5静态推理检测结果可视化图像Result.jpg
......@@ -75,12 +70,7 @@ python YoloV5_infer_migraphx.py \
export MIGRAPHX_DYNAMIC_SHAPE=1
# 运行示例
python YoloV5_infer_migraphx.py \
--imgFolderPath 测试图像文件夹路径 \
--dynamicModelPath onnx模型路径 \
--objectThreshold 判断是否有物体阈值,默认0.5 \
--confThreshold 置信度阈值,默认0.25 \
--nmsThreshold nms阈值,默认0.5 \
python YoloV5_infer_migraphx.py --dynamicInfer
```
程序运行结束会在当前目录生成YoloV5动态推理检测结果可视化图像Result0.jpg、Result1.jpg。
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment