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
yolov8_onnxruntime
Commits
05f4250b
Commit
05f4250b
authored
Jan 07, 2025
by
change
Browse files
fix bug
parent
e3bdb5c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main.cpp
src/main.cpp
+1
-1
No files found.
src/main.cpp
View file @
05f4250b
...
...
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
// 模型路径
const
std
::
string
classNamePath
=
"../model/coco.names"
;
const
std
::
vector
<
std
::
string
>
classNames
=
utils
::
loadNames
(
classNamePath
);
const
std
::
string
modelPath
=
"
/public/home/changhl/shihua
/yolov8n.onnx"
;
const
std
::
string
modelPath
=
"
../model
/yolov8n.onnx"
;
//输入图像路径
const
std
::
string
imagePath
=
"../img_in/"
;
const
std
::
string
_strPattern
=
imagePath
+
"*.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