Fix YOLOv8 C++ Example model input size (#15665)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
443db3aa00
commit
3b14816eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ int main(int argc, char **argv)
|
||||||
//
|
//
|
||||||
|
|
||||||
// Note that in this example the classes are hard-coded and 'classes.txt' is a place holder.
|
// Note that in this example the classes are hard-coded and 'classes.txt' is a place holder.
|
||||||
Inference inf(projectBasePath + "/yolov8s.onnx", cv::Size(640, 480), "classes.txt", runOnGPU);
|
Inference inf(projectBasePath + "/yolov8s.onnx", cv::Size(640, 640), "classes.txt", runOnGPU);
|
||||||
|
|
||||||
std::vector<std::string> imageNames;
|
std::vector<std::string> imageNames;
|
||||||
imageNames.push_back(projectBasePath + "/ultralytics/assets/bus.jpg");
|
imageNames.push_back(projectBasePath + "/ultralytics/assets/bus.jpg");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue