Error when trying to run the code
pfcouto opened this issue · comments
Pedro Couto commented
After downloading the code I tried to run it, however the output is an error message: "cannot find 'yolov5s' in scope". Can you help me with that?
Staphany Park commented
There may be better methods, but here's how I was able to resolve the issue by removing and re-adding the mlpackage file.
- Right-click "yolov8s" (or whichever mlpackage file isn't working) in XCode.
- Click "Delete".
- Click "Remove Reference".
- Add the mlpackage file back into the mlmodel/ folder.