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
b306b620
Commit
b306b620
authored
Jun 19, 2023
by
shizhm
Browse files
完善代码
parent
904ef827
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
Doc/Tutorial_Cpp.md
Doc/Tutorial_Cpp.md
+1
-1
Python/YoloV5_infer_migraphx.py
Python/YoloV5_infer_migraphx.py
+0
-1
No files found.
Doc/Tutorial_Cpp.md
View file @
b306b620
...
...
@@ -21,7 +21,7 @@ samples工程中的Resource/Configuration.xml文件的DetectorYOLOV5节点表示
-
ObjectThreshold:用于判断anchor内部是否有物体
```
<ModelPath>"../Resource/Models/
YOLOV
5s_Nx3xNxN.onnx"</ModelPath>
<ModelPath>"../Resource/Models/
yolov
5s_Nx3xNxN.onnx"</ModelPath>
<ClassNameFile>"../Resource/Models/coco.names"</ClassNameFile>
<UseFP16>0</UseFP16><!--是否使用FP16-->
<NumberOfClasses>80</NumberOfClasses><!--类别数(不包括背景类),COCO:80,VOC:20-->
...
...
Python/YoloV5_infer_migraphx.py
View file @
b306b620
...
...
@@ -122,7 +122,6 @@ def read_images(image_path):
for
image_name
in
os
.
listdir
(
image_path
):
image
=
cv2
.
imread
(
image_path
+
"/"
+
image_name
,
1
)
image_lists
.
append
(
image
)
image_lists
.
reverse
()
return
image_lists
...
...
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