Skip to content

v8.4.217 - `ultralytics 8.4.217` More accurate TensorRT INT8 exports (#27340)

Choose a tag to compare

@github-actions github-actions released this 23 Nov 19:49
· 3 commits to main since this release
bc52df8

🌟 Summary

Release 8.4.217 improves TensorRT INT8 export accuracy and adds more flexible high-resolution tiling, alongside inference, validation, and export fixes.

📊 Key Changes

  • 🎯 More accurate TensorRT 11 INT8 exports: Calibration now uses ModelOpt’s entropy method instead of max. With 128 calibration images, accuracy improved on every tested model—by up to 30 mAP50-95 points for pose, 20 for segmentation, 1.9 for OBB, and 0.9 for detection.
  • 🧩 More flexible tiling: Training, validation, and prediction now support rectangular tile sizes and a configurable overlap, helping users process large images with more control.
  • ⚙️ Improved runtime and export support: CoreML predictions are faster on image folders and videos; ExecuTorch inference now works with device="mps"; and YOLO26 Axelera exports select the accurate head when nms=True.
  • 🛠️ Reliability and metric fixes: Corrects single_cls mAP calculations, prevents custom paths containing “lvis” from being mistaken for LVIS, makes detection summaries JSON-friendly, and preserves prediction frames when saving frames without a video.
  • 📚 Expanded guidance: Documentation adds practical coverage for augmentation previews, OCR options and benchmarks, COCO class-specific training, and choosing between larger image sizes and tiling.

🎯 Purpose & Impact

  • 🚀 The TensorRT calibration change can substantially reduce accuracy loss when deploying INT8 models, especially for pose and segmentation.
  • 🛰️ Rectangular tiles and adjustable overlap make high-resolution workflows easier to tailor to image shape and object size.
  • ✅ Runtime and validation fixes make results more dependable across supported backends and reduce confusing errors.
  • 📖 The updated guides help users make better-informed choices about training, evaluation, OCR, and deployment.

What's Changed

New Contributors

Full Changelog: v8.4.216...v8.4.217