๐ Summary
This release introduces support for the new TorchScript MobileCLIP model, enhances grayscale image handling, and improves testing and documentation for broader device and package compatibility. ๐๐ผ๏ธ๐ฑ
๐ Key Changes
- TorchScript MobileCLIP Integration ๐ฑ
- Added support for Apple's MobileCLIP model in TorchScript format, enabling efficient and portable text encoding for vision-language tasks.
- Grayscale Image Training Support ๐ค
- Datasets and augmentations now natively support grayscale images, making it easier to train and infer with both grayscale and color data.
- Expanded Continuous Integration (CI) Coverage ๐งช
- Raspberry Pi and Conda environment tests are now enabled by default, ensuring more robust cross-platform compatibility.
- Test files are now included in Conda builds for better package quality assurance.
- YOLO11 Model References in Docs & Docker ๐ฆ
- All documentation, code examples, and Dockerfiles now use YOLO11 models as the default, promoting the latest advancements.
- Cleaner CoreML Handling ๐งน
- Removed outdated CoreML and protobuf workarounds, reflecting improved compatibility and a simpler codebase.
๐ฏ Purpose & Impact
- Faster, Portable Text Features
- The new TorchScript MobileCLIP model allows for rapid, device-agnostic text encoding, benefiting custom class naming and vision-language applications on a wider range of hardware.
- Broader Dataset Compatibility
- Native grayscale support reduces manual preprocessing and errors, expanding Ultralytics' usability in medical imaging, document analysis, and more.
- Stronger Reliability Across Devices
- Enhanced CI ensures YOLO models work smoothly on edge devices like Raspberry Pi and in Conda-managed environments, giving users and developers greater confidence.
- Simpler, Up-to-Date Experience
- By standardizing on YOLO11 and cleaning up legacy code, users get clearer guidance and a more modern, maintainable toolkit.
This update is recommended for all users, especially those working with custom text prompts, grayscale datasets, or deploying on diverse hardware platforms. ๐
What's Changed
- Remove special CoreML<>protobuf handling by @glenn-jocher in #20362
- Add
tests
directory to package for Conda builds by @glenn-jocher in #20365 - Implement 3.12-compatible Raspberry Pi CI by @glenn-jocher in #20361
- Dockerfile export Sony IMX with YOLO11 by @glenn-jocher in #20367
- Add Grayscale image training support by @Laughing-q in #20310
ultralytics 8.3.118
Use new TorchScript MobileCLIP model by @Y-T-G in #20354
Full Changelog: v8.3.117...v8.3.118