Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

yolov8-obb exports to coreml #60

Closed
Wwshiliu opened this issue Aug 27, 2024 · 2 comments
Closed

yolov8-obb exports to coreml #60

Wwshiliu opened this issue Aug 27, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Wwshiliu
Copy link

Hello,
can the yolov8-obb model be exported as a CoreML model for use in IOS? I tried to export the model, but only when the yolov8n model uses the parameter 'nms=True' when exporting coreml, can it be used normally in IOS. Without the parameter 'nms=True', or 'nms' defaults to False, the model cannot be used for detection in IOS. Why is this? Also, when exporting the yolov8n-obb model with the parameter 'nms=True', the exported model still cannot be used properly. Is this because the yolov8n-obb model does not support the parameter 'nms' when exporting? How should I use the yolov8n-obb model in IOS?

@UltralyticsAssistant UltralyticsAssistant added the question Further information is requested label Aug 27, 2024
@glenn-jocher
Copy link
Member

@Wwshiliu hello,

Currently, the yolov8-obb model may have limitations with CoreML export, particularly with the nms parameter. To ensure compatibility, please verify if the issue persists with the latest version of the ultralytics package. If the problem continues, it might be due to specific constraints of the yolov8-obb model. For further assistance, please refer to our CoreML export documentation.

@john-rocky
Copy link
Contributor

@Wwshiliu
Thank you for your feedback.
Currently, the NMS option only supports Detection models, and in order to use Obb models on iOS, you will need to write the NMS and post-processing in native code.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants