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
4bfbbc70
Commit
4bfbbc70
authored
Jun 18, 2023
by
shizhm
Browse files
完善代码格式
parent
cfaa9eb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Src/YOLOV5.cpp
Src/YOLOV5.cpp
+1
-1
No files found.
Src/YOLOV5.cpp
View file @
4bfbbc70
...
...
@@ -55,7 +55,7 @@ ErrorCode DetectorYOLOV5::Initialize(InitializationParameterOfDetector initializ
}
migraphx
::
onnx_options
onnx_options
;
onnx_options
.
map_input_dims
[
"images"
]
=
{
1
,
3
,
800
,
800
};
//
onnx_options
.
map_input_dims
[
"images"
]
=
{
1
,
3
,
800
,
800
};
net
=
migraphx
::
parse_onnx
(
modelPath
,
onnx_options
);
LOG_INFO
(
stdout
,
"succeed to load model: %s
\n
"
,
GetFileName
(
modelPath
).
c_str
());
...
...
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