🌟 Summary (single-line synopsis)
Ultralytics v8.3.246 upgrades training reporting for Ultralytics HUB by uploading rich, interactive plot data + class names at the end of training, making results easier to explore and understand 📈🏷️✨
📊 Key Changes
- (Priority) Rich plot-data upload on train completion 🧩📤
Aton_train_end(), Ultralytics now collects plots from both the trainer and validator and sends them with the final"training_complete"event (e.g., confusion matrix, PR curves, metric–confidence curves). - Class names included in the final payload 🏷️
The"training_complete"message now includesclassNames, so plots/results can be labeled correctly on the frontend. - Structured plot metadata for interactive visualizations 🖥️📊
Plot callbacks (on_plot) now pass raw arrays + plot type, enabling interactive rendering in Ultralytics HUB:- Confusion matrix sends raw matrix counts
- PR curve sends x/y arrays + per-class AP
- Metric-confidence curves send x/y arrays
- Better diagnostics when installs fail 🧰⚠️
check_requirements()now surfaces more detail (e.g., captured command output) so dependency issues are easier to debug. - NVIDIA NVML init failures are now logged 🖥️🪵
If GPU telemetry can’t initialize, Ultralytics prints a warning instead of failing silently. - Export dependency updates & safeguards 📦🔧
onnxslimminimum bumped to >=0.1.82 to reduce ONNX export tooling issues.- ExecuTorch export adds a requirement guard:
ruamel.yaml<0.19.0to prevent version-related export failures.
- Minor developer-facing correctness/clarity 🧠🧹
Fixes misleading mask shape comments across segmentation/mask processing code and a small test comment tweak.
🎯 Purpose & Impact
- More useful training dashboards in Ultralytics HUB 📈✨
You should see better “training complete” reporting with correctly labeled, interactive plots—helpful for both quick checks and deeper analysis. - Improved reproducibility and debugging 🧩🔍
Raw plot data + class names means the frontend can recreate plots reliably, and users can interpret results without guessing label mappings. - Fewer “mysterious” environment issues ⚠️🧰
Clearer dependency-install failure messages and NVML warnings make it easier to diagnose setup problems (especially in containers/servers). - More stable exports 🚀📦
Updated/pinned dependencies reduce the chance of ONNX/ExecuTorch export breaking due to upstream library changes.
For the full context, see PR #23104 by @glenn-jocher and related PRs included in the v8.3.246 release notes.
What's Changed
- ci: 👷 update onnxslim version to 0.1.82 by @onuralpszr in #23101
- Show reason for installation failure in
check_requirements()by @Y-T-G in #23097 - Log NVML init failures by @glenn-jocher in #23096
- Fix incorrect shape comments in mask processing by @raimbekovm in #23100
- fix: 🐞 Add requirement for ruamel.yaml version for executorch by @onuralpszr in #23102
- Update Dockerfile examples by @glenn-jocher in #23103
ultralytics 8.3.246Save training plots data for loggers by @glenn-jocher in #23104
Full Changelog: v8.3.245...v8.3.246