pypi ultralytics 8.3.252
v8.3.252 - `ultralytics 8.3.252` Fix TQDM duplicate 100% states (#23158)

one day ago

🌟 Summary

v8.3.252 polishes Ultralytics console output by fixing a tqdm progress-bar issue that could print β€œ100% complete” twice βœ…πŸ“ˆ

πŸ“Š Key Changes

  • 🧹 Fix duplicated final progress-bar render (PR #23158): adds a safeguard in ultralytics/utils/tqdm.py to skip the final β€œcomplete” redraw if 100% was already printed.
  • 🧠 Export reliability improvement: resets cached export input shape (m.shape = None) in ultralytics/engine/exporter.py to avoid stale shapes when exporting with a new image size πŸ“¦
  • πŸ”— Cleaner Ultralytics HUB / platform run URLs: adds slugify() plus _get_project_name() in ultralytics/utils/callbacks/platform.py so project/run names become URL-safe (better logging links, fewer weird characters) 🌐
  • 🧾 Docs + examples default tuning (PR #23157):
    • 🚢 Tracking examples updated to conf=0.1 and iou=0.7 (more typical tracking behavior)
    • πŸ” Predict examples updated to conf=0.25
    • βœ… Val examples aligned to iou=0.7
    • πŸ“Š Docs macros updated (e.g., plots/verbose defaults shown as True in places; FP16 half shown as False for validation docs)
    • πŸ“¦ Export docs clarify INT8 calibration fallback uses coco8.yaml when data isn’t provided
  • 🧩 Tracing/export warning reduction: make_anchors() in ultralytics/utils/tal.py iterates over len(feats) instead of directly iterating a strides tensor to avoid TracerWarning during tracing πŸ› οΈ

🎯 Purpose & Impact

  • βœ… Cleaner logs & CI output: eliminates confusing duplicate β€œ100%” progress-bar lines, making training/validation logs easier to read (especially in automated pipelines) 🧾
  • πŸ“¦ More predictable exports: reduces the chance of exporting with an unintended cached shape when changing imgsz, improving export consistency across runs πŸ”
  • 🌐 More robust platform/HUB streaming links: URL-safe project/run names reduce broken links and improve readability when streaming training updates πŸ“‘
  • πŸ“š Better defaults in documentation: examples now reflect more practical thresholds, helping new users get reasonable results faster without β€œwhy is nothing detected/tracked?” confusion 🎯

What's Changed

Full Changelog: v8.3.251...v8.3.252

Don't miss a new ultralytics release

NewReleases is sending notifications on new releases.