ultralytics / yolo-ios-app

Ultralytics YOLO iOS App source code for running YOLOv8 in your own iOS apps 🌟
https://ultralytics.com/yolo
GNU Affero General Public License v3.0
94 stars 15 forks source link

get error Cannot find 'yolov8m' in scope #19

Open 136323000 opened 2 months ago

136323000 commented 2 months ago
image

I downloaded your code and placed my converted model in the corresponding location, but an error occurred during runtime

Thanks any help

pderrenger commented 2 months ago

Hello! It looks like the 'yolov8m' model isn't being recognized in your project. Please ensure that the model file is correctly placed in the expected directory and that its filename matches exactly what your code is referencing.

Also, double-check if your code includes an import statement or a configuration that defines 'yolov8m'. Sometimes, misspellings or path errors can cause this issue.

If everything seems fine and you're still facing the issue, consider checking the model's loading mechanism in the code to confirm if it's designed to recognize the model format you’ve provided.

Hope this helps! If you need more detailed guidance, checking out the documentation or examples on configuring and loading models might be beneficial.🚀