Ultralytics v8.4.227: More accurate QNN exports and faster validation
The Ultralytics v8.4.227 release brings Qualcomm QNN W8A16 exports closer to FP32 accuracy, makes rotated-box validation better reflect actual overlap, and speeds up everyday segmentation workflows.
Export and deployment
- More accurate QNN W8A16 exports. Per-output-channel weight scales help preserve smaller weights during quantization. In testing on Snapdragon X Elite at an input size of 640, YOLO26s gained 0.038 mAP50-95 over the previous W8A16 export. See @vnk8071’s per-channel quantization PR #27540 for the change.
- Fewer interruptions when working with QNN models. You can now load multiple QNN models in one process and re-export into a folder that already contains a QNN export. See @vnk8071’s multi-model loading fix #27528 and @glenn-jocher’s re-export fix #27548 for details.
- More reliable reduced-precision exports. @cainiao33’s OpenVINO depth fix #27526 keeps depth decoding in floating point to preserve the full predicted depth range in INT8 exports. @raimbekovm’s embedded NMS fix #27520 restores duplicate-box suppression for reduced-precision exports with
nms=True.
Validation and performance
- Rotated-box scores that better reflect geometric overlap. @MohammadHijjawi97’s OBB evaluation update #27423 uses polygon IoU instead of ProbIoU for validation scoring, bringing it closer to DOTA-style evaluation. Separately, @Keval-P’s shared-computation optimization #27512 speeds up rotated NMS and OBB validation matching.
- Faster validation with
save_json=True. @raimbekovm’s updates encode each image’s masks in one pass (#27525), score COCO masks using their exported RLE (#27534), and serialize predictions in one call while scoring records in memory (#27532). - Faster segmentation training and CPU prediction. @raimbekovm’s mask-loss optimization #27537 computes mask loss once per image group, while @Keval-P’s CPU prediction update #27541 speeds up semantic segmentation. @Keval-P’s broader performance update #27543 also speeds up rotated NMS, segmentation augmentation, batch normalization, and
Results.summary()without changing their outputs.
Training and runtime fixes
- Less friction with datasets. @raimbekovm’s fixes enable YOLO-World and YOLOE training on read-only datasets (#27538), apply
datasets_dirchanges without a restart (#27517), and prevent auto-splitting classification roots that contain only split folders (#27513). - Correct class weighting and plots for rectangular training. @Vaishnavi220506’s polygon semantic training fix #27527 applies
cls_pwclass weights and generates the label plot whenrect=True. - More dependable monitoring and streaming. @glenn-jocher’s GPU monitoring fix #27524 keeps reporting healthy GPUs when one GPU’s metrics fail. @AhmetMert01’s YOLOE streaming fix #27530 prevents visual prompts from leaving a second camera connection open. @mohammedmanalodi’s Solutions logging fix #27546 makes the configuration log respect
verbose=False.
Documentation and contributor spotlight
- Fine-tuning and training guidance. @pderrenger’s fine-tuning docs update #27515 explains how to fine-tune one class without forgetting the others. @UltralyticsAssistant’s docs audit #27518 corrects P2/P6 freeze values and a
data.yamlexample path. - Clearer Ultralytics Platform docs. @glenn-jocher’s rate-limit update #27523 documents the Predict API limit of 100 requests per minute per account. @pderrenger’s Platform docs update #27533 clarifies image prediction billing, API key errors, and Trash behavior, and adds Ultralytics VLM1 FAQs. @UltralyticsAssistant’s On Premise docs update #27535 explains that previews require a browser on the connected computer.
- Welcome, @mohammedmanalodi! Their first contribution, the YOLOv8 checkpoint guide #27531, explains how to load early checkpoints that require
omegaconf.
Try it and tell us what you find
Install this release with pip install ultralytics==8.4.227 and browse the full v8.4.227 changelog for the complete comparison.
If you’re deploying to Snapdragon, try re-exporting your model and comparing W8A16 accuracy on your own validation set. If you work with rotated boxes, rerun validation to see how polygon IoU affects your scores. Share your results, questions, or rough edges in the replies!