pypi ultralytics 8.3.117
v8.3.117 - `ultralytics 8.3.117` Replace TFLite Support with JSON metadata (#16413)

latest releases: 8.3.194, 8.3.193, 8.3.192...
4 months ago

🌟 Summary

Ultralytics 8.3.117 introduces a major update to TFLite model exports, switching from flatbuffers to a simpler JSON metadata format for improved Python 3.12+ compatibility. This release also brings enhancements to Docker support, distributed training, and model export workflows, along with several bug fixes and documentation improvements. 🚀


📊 Key Changes

  • TFLite Metadata Overhaul: Replaces the TFLite Support package and flatbuffers-based metadata with a new JSON-based approach, making TFLite exports compatible with Python 3.12 and above.
  • Backward Compatibility: Automatically falls back to the legacy metadata format for Python versions below 3.12.
  • Docker & CI Improvements: Updates Dockerfiles and GitHub Actions workflows for better Python 3.12 support and ARM64 benchmarking.
  • MobileCLIP Dependency Update: Switches to the Ultralytics-maintained MobileCLIP fork for easier installation and improved reliability.
  • Distributed Training Fixes: Enhances YOLO distributed training stability, especially on Windows and with different PyTorch backends.
  • CoreML Export Fix: Resolves box size issues when exporting models to CoreML.
  • Prediction Robustness: Restores automatic class inference in detection models when metadata is missing, improving prediction reliability.
  • Documentation Upgrade: Adds a step-by-step YouTube video tutorial to the Docker Quickstart guide for easier onboarding.
  • Codebase Cleanup: Refines import statements for better maintainability and fewer import errors.

🎯 Purpose & Impact

  • Future-Proof TFLite Exports: Ensures users can export and use TFLite models with the latest Python versions, reducing compatibility headaches.
  • Smoother Installations: The new MobileCLIP fork and Docker updates make setup and deployment more reliable across platforms.
  • Easier Distributed Training: Users training YOLO models on clusters or Windows systems will experience fewer errors and smoother runs.
  • Broader Hardware Support: ARM64 benchmarking and Docker improvements benefit users on Jetson and other ARM devices.
  • Improved User Experience: The new Docker video guide and restored prediction logic make it easier for both beginners and advanced users to get started and achieve reliable results.
  • ⚠️ Breaking Change: TFLite metadata format has changed. If you rely on the old flatbuffers-based metadata, you may need to update your code or workflows.

This release is a significant step towards modern Python compatibility, easier deployments, and a more robust user experience across the Ultralytics ecosystem! 🎉

What's Changed

Full Changelog: v8.3.116...v8.3.117

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.