Conversation
|
👋 Hello @glenn-jocher, thank you for submitting a -✅ Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions. For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
Clean update overall. The code changes look solid and I didn’t find any functional bugs or reliability issues in the diff.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
Merged! Huge thanks @glenn-jocher for driving this iOS + Swift package upgrade to YOLO26 as the new default—this is a major quality-of-life win for everyone building on Apple platforms.
This PR is a great example of that: moving to YOLO26’s NMS-free outputs, adding robust raw-tensor post-processing across tasks, enabling Appreciate the thoughtful engineering and polish—this sets a strong foundation for anyone deploying YOLO26 via the Ultralytics iOS app repo and the wider ecosystem. |
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Updates the iOS app and Swift YOLO package to default to YOLO26 (NMS-free) models, with new post-processing paths and improved Core ML/Vision handling 🚀📱
📊 Key Changes
yolo11n→yolo26n) 🔄BasePredictornow detects whether a model requires NMS via the model’s user-defined metadata (nms=false) 🧠ObjectDetectorcan now parse raw tensor outputs (MLMultiArray) from Vision for YOLO26 detection models (end-to-end format), while still supporting older VNRecognizedObjectObservation-style outputs ✅Segmenter,PoseEstimator, andObbDetectorgain end-to-end YOLO26 output parsing paths (new post-processing functions) 🎯MLModelConfiguration.computeUnits = .allfor better on-device performance (CPU+GPU+Neural Engine) ⚡️Models/structure (e.g.,Models/Detect,Models/Segment, etc.) 🗂️UIScreen.screens.count) 🖥️download-models.shnow downloads YOLO26 models into the new folder structure and handles nested zip extraction more robustly 📥scripts/export-models.pyto export and copy 25 YOLO26 Core ML models (sizes × tasks) into the app folders and zip them for releases 🧰nms=False) 📝*.backuptest files and.gitkeepplaceholders 🧹🎯 Purpose & Impact
.allcompute units can improve speed and efficiency on supported devices (especially with Neural Engine) ⚡️🔋Models/structure plus improved scripts makes downloading/exporting models simpler for developers and CI setups 🛠️