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
904ef827
Commit
904ef827
authored
Jun 18, 2023
by
shizhm
Browse files
完善代码格式
parent
4bfbbc70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
Src/YOLOV5.cpp
Src/YOLOV5.cpp
+0
-1
No files found.
Src/YOLOV5.cpp
View file @
904ef827
...
@@ -125,7 +125,6 @@ ErrorCode DetectorYOLOV5::Detect(const cv::Mat &srcImage, std::vector<std::size_
...
@@ -125,7 +125,6 @@ ErrorCode DetectorYOLOV5::Detect(const cv::Mat &srcImage, std::vector<std::size_
return
IMAGE_ERROR
;
return
IMAGE_ERROR
;
}
}
inputSize
=
cv
::
Size
(
relInputShape
[
3
],
relInputShape
[
2
]);
inputSize
=
cv
::
Size
(
relInputShape
[
3
],
relInputShape
[
2
]);
// 数据预处理并转换为NCHW格式
// 数据预处理并转换为NCHW格式
cv
::
Mat
inputBlob
;
cv
::
Mat
inputBlob
;
...
...
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