pypi ultralytics 8.4.47
v8.4.47 - `ultralytics 8.4.47` Fix CLI parsing for solution colormap values (#24219)

6 hours ago

🌟 Summary

Ultralytics v8.4.47 is a reliability-focused release that fixes a key CLI bug for heatmap colormaps 🎨, while also improving RT-DETR post-processing, remote checkpoint loading, Edge TPU export behavior, and several stability edge cases across loaders and I/O βœ….

πŸ“Š Key Changes

  • πŸ”₯ Most important (current PR #24219 by @raimbekovm): CLI colormap parsing fixed for Solutions Heatmap

    • Commands like colormap=cv2.COLORMAP_INFERNO now work as documented.
    • Previously, these values were passed as raw strings and could fail in OpenCV.
    • Parser now safely resolves allowed cv2.<UPPERCASE_CONSTANT> values to numeric constants, with security protections still in place πŸ›‘οΈ.
  • RT-DETR got a meaningful post-processing upgrade (PR #24403 by @artest08)

    • Top-k selection moved into the decoder head (more aligned with DETR-style behavior).
    • Inference output format is now cleaner and standardized as [cx, cy, w, h, score, class].
    • Predict/val code is simpler and more consistent.
  • Edge TPU export is now more robust and explicit (PR #24383 by @lakshanthad)

    • If exporting to Edge TPU without int8=True, Ultralytics now warns and auto-enables it early.
    • Reduces confusing late-stage failures during export.
  • Remote checkpoint URI support improved (PR #24395 by @glenn-jocher)

    • Centralized supported remote prefixes and expanded consistency across loading paths.
    • pretrained=ul://... now resolves like other remote model references 🌐.
  • Multiple bug fixes across data loading, hub session, and solutions (PR #24397 by @glenn-jocher)

    • Fixed loader counter initialization and tensor path generation bugs.
    • Fixed potential unbound variable in file speed checks.
    • Fixed HUB warning message formatting.
    • Minor analytics/heatmap cleanup for correctness and efficiency.
  • Safer image reading behavior (PR #24406 by @Y-T-G)

    • imread() now returns None on missing/unreadable files (matching common cv2.imread expectations), instead of crashing.
  • YOLOE validation guardrail added (PR #23982 by @ahmet-f-gumustas)

    • Warns when refer-data class names don’t match eval dataset class names, helping catch silent validation mistakes ⚠️.
  • Results serialization improvements (PR #23909 by @glenn-jocher)

    • Mask/keypoint summary values are normalized to Python floats and rounded cleanly for better JSON/API compatibility.
  • CI maintenance update (PR #24396 by @UltralyticsAssistant)

    • Slack GitHub Action bumped from v3.0.2 to v3.0.3 in workflows.

🎯 Purpose & Impact

  • For CLI users of yolo solutions heatmap: documented colormap syntax now behaves correctly out of the box πŸŽ‰.
  • For deployment workflows: Edge TPU exports and remote weight loading are more predictable and less error-prone.
  • For RT-DETR users: post-processing is more model-native and maintainable, with potential quality/selection behavior benefits.
  • For production pipelines: better failure handling (imread), cleaner serialization, and several bug fixes reduce runtime surprises.
  • Overall: this release is less about flashy new UI and more about making Ultralytics tooling more trustworthy, consistent, and developer-friendly πŸš€.

What's Changed

Full Changelog: v8.4.46...v8.4.47

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.