Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
yolov5_migraphx
Commits
cd05e0f0
"docs/source/en/tutorials/basic_training.md" did not exist on "f911287cc94218b3d65d97c233ed34d5b729c8c5"
Commit
cd05e0f0
authored
Jun 19, 2023
by
shizhm
Browse files
完善文档
parent
28602b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
README.md
README.md
+2
-12
No files found.
README.md
View file @
cd05e0f0
...
@@ -56,12 +56,7 @@ cd Python/
...
@@ -56,12 +56,7 @@ cd Python/
1.
静态推理
1.
静态推理
```
```
python YoloV5_infer_migraphx.py \
python YoloV5_infer_migraphx.py --staticInfer
--imgPath 测试图像路径 \
--staticModelPath onnx模型路径 \
--objectThreshold 判断是否有物体阈值,默认0.5 \
--confThreshold 置信度阈值,默认0.25 \
--nmsThreshold nms阈值,默认0.5 \
```
```
程序运行结束后,在当前目录生成YOLOV5静态推理检测结果可视化图像Result.jpg
程序运行结束后,在当前目录生成YOLOV5静态推理检测结果可视化图像Result.jpg
...
@@ -75,12 +70,7 @@ python YoloV5_infer_migraphx.py \
...
@@ -75,12 +70,7 @@ python YoloV5_infer_migraphx.py \
export MIGRAPHX_DYNAMIC_SHAPE=1
export MIGRAPHX_DYNAMIC_SHAPE=1
# 运行示例
# 运行示例
python YoloV5_infer_migraphx.py \
python YoloV5_infer_migraphx.py --dynamicInfer
--imgFolderPath 测试图像文件夹路径 \
--dynamicModelPath onnx模型路径 \
--objectThreshold 判断是否有物体阈值,默认0.5 \
--confThreshold 置信度阈值,默认0.25 \
--nmsThreshold nms阈值,默认0.5 \
```
```
程序运行结束会在当前目录生成YoloV5动态推理检测结果可视化图像Result0.jpg、Result1.jpg。
程序运行结束会在当前目录生成YoloV5动态推理检测结果可视化图像Result0.jpg、Result1.jpg。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment