There is a single bug in examples\YOLOv8-ONNXRuntime-CPP\inference right now #4137
Palms-hegel
started this conversation in
General
Replies: 1 comment
-
@Palms-hegel thank you for bringing this to our attention and for suggesting a fix! It's great to hear that you've managed to get detection results after your adjustment. We appreciate your contribution to improving the YOLOv8 ONNXRuntime C++ example. I'll make sure to review the code and incorporate a fix for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The para "classesNum" is never defined anywhere in this code, while we need to input it in this sentence : "cv::Mat scores(1, classesNum, CV_32FC1, classesScores);" So, I try to add a code "classesNum = iParams.classesNum;" in CreateSession, right behind the code"modelType = iParams.ModelType;". And it works! After running the code, there are detect results over the images now.
Beta Was this translation helpful? Give feedback.
All reactions