pypi / ultralytics
ultralytics
What changed in ultralytics 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
36 breaking3 security18 new APIs and options31 performance75 behavior and defaults2 tooling286 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initultralytics 8451 changes
Breaking changes 36
The dataloader worker cap is divided by the number of GPUs in the run.
Mask conversion rejects colliding label filenames instead of overwriting them.
OCR uses PP-OCRv6 through ONNX Runtime with YOLO26x-Text as its default detector, supports rotated text and reading-order output, and the optimized recognizer requires Python 3.11+ and ONNX Runtime 1.26+.
NCNN exports with batch greater than one are rejected before conversion because NCNN does not support a batch axis.
YOLOE calls using visual prompts now default to a confidence threshold of 0.05; other prediction calls are unchanged.
Prediction and tracking now default to an NMS IoU of 0.5 instead of 0.7; validation remains at 0.7, and explicitly provided values take precedence.
The AMD GPU image moves to Ubuntu 26.04 and Python 3.14; the NVIDIA ARM64 image updates its NVIDIA PyTorch, CUDA, and TensorRT releases, and other images use refreshed floating Debian tags.
Boolean values are rejected as split fractions instead of being treated as numbers.
DEEPX support is updated for DX-COM 2.5.0; use DX-RT 3.5.0 or newer with those models.
Checkpoints no longer trigger automatic package installation; missing dependencies now raise an error rather than being installed automatically.
Dataset configuration and download paths now use the canonical construction-ppe archive and directory; existing caches using the old directory name are outside the supported scope.
The dataset is updated to 1,000 images, 12 classes, and 14,863 reviewed annotations, with an 800/200 split; added classes and changed class IDs may require project updates.
Training reports an error before distributed training starts when the batch is smaller than the number of GPUs; non-evenly divisible batches still work with the remainder dropped.
Removes UTF-8 BOM handling.
PyYAML is no longer a required base dependency, reducing a dependency for standard installs.
Model YAML parsing requires activations to resolve to supported torch.nn modules and model entries to be PyTorch module classes.
Images without detections now receive empty label files, replacing any previous auto-annotation labels.
Visual prompts on fused YOLOE models are rejected directly instead of failing later or reporting misleading results.
Images and videos listed in TXT or CSV sources are processed in the listed order instead of being reordered alphabetically.
Unlabeled classification images are skipped instead of being assigned class 0.
Updated converter requirements and aligned dependency versions; IMX500 export is explicitly supported on Linux with Python 3.10–3.12.
The minimum required version for LiteRT exports is raised to 2.3.0.
The minimum required version for LiteRT exports is raised to 0.10.0.
The minimum required version for LiteRT exports is raised to 0.10.0.
YOLO26-pose training assigns ground truths with visible keypoints using keypoint similarity (OKS) instead of blending it with box overlap.
An empty streams manifest now raises a clear error.
Grayscale TIFF scans load as their first page by default; cv2.IMREAD_UNCHANGED still stacks same-size pages for workflows that need pages as bands.
Changing class names on a text-fused YOLOE model now raises a clear error instead of silently relabeling predictions or failing later.
Positive matching, conflict resolution, and confidence targets now consider keypoint OKS alongside box overlap; ground truths with no visible keypoints still use box overlap alone. Enabled by default and limited to YOLO26-pose.
Versions are capped below 2.5 because version 2.5.0 can fail to build YOLOv8 and YOLO11 models across Rockchip targets, and YOLO26 on RK3588.
Several images no longer include unnecessary OpenCV GUI and other system packages, reducing root-filesystem size; GUI display remains possible by installing the GUI OpenCV build.
With save_crop=True, crops are now upright and aligned to each oriented bounding box; areas beyond the image are filled with black.
Export checks whether the requested opset meets the model's minimum and reports a clear error when it does not.
Dataset scans reject fractional class IDs instead of allowing invalid labels to fail later.
The unused labels autolabel path has been removed.
Box-only labels are rejected when loading OBB datasets, providing earlier feedback for invalid labels.
Security 3
Dataset cache files are loaded with a restricted unpickler to reduce risks from untrusted cache files.
Text embedding caches are loaded with weights_only.
All settings.update() forms are validated, and the config directory fallback remains private per user.
New APIs and options 18
PP-OCRv5 recognizer models can recognize Korean, Cyrillic, Arabic, Devanagari, Thai, Greek, Tamil, and Telugu through ONNX Runtime without PaddlePaddle or PaddleOCR. Choose a model for the expected text; language detection and switching are not automatic.
ExecuTorch exports can use a smaller INT8 format with calibration data; detection, segmentation, pose, and oriented-box heads remain in FP32.
OpenVINO and LiteRT accept cpu, xpu, and npu device names; intel:cpu, intel:gpu, and intel:npu remain deprecated aliases that emit a warning.
Class colors can be supplied with dataset metadata and carried through trained or exported models into prediction visualizations.
Adds an OBB training dataset combining COCO-Text and HierText, with 65,325 images and about 1.29 million word polygons.
Adds a workflow that detects text with detection, OBB, or segmentation models and recognizes it with optional PaddleOCR or a custom callable, returning text and associated detection results.
Use tile=True or a positive integer tile size to process large images in overlapping windows across training, validation, and prediction.
Export YOLO models with format=nxp to create INT8 LiteRT models compiled for NXP i.MX95 Neutron; unsupported operations may run on the CPU.
A built-in minimal YAML reader and writer supports structures commonly used in Ultralytics configs, datasets, and export metadata.
TensorFlow GraphDef benchmarks now include OBB and pose.
RKNN INT8 exports use this file for CPU-side floating-point box decoding; custom runtimes must run it or implement the same decoding.
Depth models can now be exported in INT8, using hybrid precision to keep error-prone layers in FP16. Calibration should use paired depth maps covering the deployment scene’s depth range.
On supported Windows 11 systems, users can opt in to Windows ML’s ONNX Runtime and let it select hardware execution providers; existing session options are preserved.
LiteRT exports can run inference on Intel CPUs and NPUs, including YOLO26 detection, segmentation, depth, pose, OBB, and classification models.
GPU inference supports custom input names and strided tensors.
Adds a Xilinx export format, with vitis, vitisai, and versal aliases, for exporting through AMD Quark to a quantized ONNX model and Vitis AI configuration targeting Versal AI Edge Gen 2 NPUs.
A ROCm-based AMD Docker image is available for AMD deployment workflows.
Native PyTorch models can now be trained and run on supported AMD GPUs with ROCm.
Performance 31
CPU ONNX predictions are faster on hyperthreaded machines and CPU-limited containers.
Saving detection crops avoids unnecessary full-frame copies.
TensorRT installation checks recognize JetPack 7, DGX, and NVIDIA containers, avoiding a redundant 3 GB download.
SAM 3 and SAM 3.1 image encoders run 7–9% faster in the tested torch.compile setup; eager-mode results are unchanged.
Semantic segmentation and depth workloads use a faster resizing path when deterministic mode is enabled.
On NVIDIA GPUs, OCR can use a cached FP16 TensorRT engine, reported to be about 2.5× faster than ONNX Runtime on dense pages after the initial engine build.
CPU pooling uses an equivalent approach that reduces measured block latency by 22–45%; GPU and exported-model behavior are unchanged.
Intel NPU INT8 exports use symmetric quantization, intended to improve performance on supported models.
Assigner and semantic metric writes are sped up on MPS.
Avoids unnecessary gradient synchronization on batches that do not update the optimizer, improving multi-GPU training performance.
NMS-free TensorRT 11 FP16 exports can be up to 3% faster.
Calibration uses a C++ profiling mode; the reported export time dropped from about 36 seconds to 11 seconds with no measured validation accuracy regression.
Semantic segmentation training is faster under deterministic mode.
PIL plotting is up to 15× faster across tasks, with plotting appearance kept consistent.
PyTorch uses at most two threads for preprocessing and postprocessing with CPU ONNX Runtime and OpenVINO models, reducing competition with the inference runtime.
Computes each tracked car’s center once per frame rather than once for every parking-space comparison.
Foreground anchors are found across the batch in one pass instead of repeating the work per image, with losses and gradients unchanged.
Vectorized RLE string encoding reduces segmentation validation encoding time in tested workloads.
Images are prefetched during inference so upcoming batches can load while the current batch runs.
HSV augmentation uses a single multi-channel lookup table operation.
Target padding is bucketed to prevent per-shape driver memory growth during training.
Results are written into a preallocated output stack, avoiding extra full-size copies and repeated GPU-to-CPU synchronization.
EXIF-rotated image shapes are cached as images are decoded.
Prediction summaries avoid unnecessary tensor conversions, making their logs faster.
Archive timestamps are preserved to avoid unnecessary label rescans.
Removes an extra temporary weights copy, reducing temporary storage used by Core ML NMS exports.
Compiled models are cached to avoid recompilation on later loads; the first run still incurs compilation time.
Eligible Ultralytics Platform manifests can reuse unchanged images and depth files from a shared cache, reducing duplicate downloads and storage across dataset versions.
SAM batched_mask_to_box runs 86% faster on CPU.
CoreML export skips redundant trace checking and removes a duplicate setup forward pass, reducing export overhead.
Video frames can be prefetched while the GPU processes the current batch, overlapping loading with inference.
Behavior and default changes 75
Validation CSV and JSON exports include per-class mask mAP, pose mAP, and semantic pixel accuracy.
The training option now accounts for class imbalance in classification datasets as well as detection.
LiteRT INT8 exports keep detection, segmentation, pose, and OBB head outputs in FP32 while quantizing much of the rest of the model, helping preserve confidence scores and box precision.
NXP INT8 exports keep detection, segmentation, pose, and OBB head outputs in FP32 while quantizing much of the rest of the model, helping preserve confidence scores and box precision.
Default ONNX Runtime thread pools are bounded.
Class filtering now applies to predictions as well as ground-truth labels, reducing the effect of excluded classes on metrics and saved results.
OCR and oriented bounding-box labels now appear above the top-left of the polygon's enclosing box, reducing overlap with rotated text.
OCR labels now use black text on green for contrast.
PaddleOCR OCR now checks upside-down text crops in both orientations and keeps the higher-confidence reading, also helping with bottom-to-top text.
FastSAM uses a DataComp-XL CLIP model that selects the correct mask more often, with similar speed and download size.
Calibration now supports NDJSON and Platform datasets.
Resumed epochs use new augmentation randomness instead of replaying earlier augmentations.
Argoverse downloads and converts through Ultralytics Platform instead of Google Drive.
SAM and NAS checkpoints use weights-only loading where supported.
Platform training arguments are sent as JSON values instead of being converted to strings.
Arabic class names now join and read right-to-left in prediction, training, and validation images while numbers and Latin text remain readable, with no new dependency or argument.
Sends a descriptive User-Agent on downloads, helping avoid requests being rejected by some servers.
AMP checks build an untrained YOLO26n from YAML and compare FP32 and AMP results across convolution and attention layers, without downloading weights or relying on training setup.
Re-exporting to RKNN, Ascend, ExecuTorch, or IMX replaces old files in the output directory, reducing the risk of loading a stale model.
ONNX opset 13 and newer use per-channel weight quantization to improve INT8 accuracy; older opsets retain per-tensor quantization.
Speed estimation uses the source video’s frame rate by default, while an explicitly set FPS still takes precedence.
Automatic batch sizing uses the training dataset across tasks and treats out-of-memory errors during backward profiling as a limit.
The index is built from the selected image directory on each startup, avoiding stale indexes at the cost of rebuilding embeddings.
Dataset loading now accepts individual image paths.
When a dynamic export is loaded without an explicit imgsz, prediction and validation default to the size recorded in the export metadata; an explicit size still takes precedence.
Automatic dependency installation prefers uv when available, including on ARM64.
Detection direction is measured over the track’s recent delta_t-frame window, making associations less sensitive to box jitter.
INT8 export now supports detection, segmentation, pose, and OBB models by running output convolutions on the NPU and box decoding on the CPU in floating point.
FP16-capable targets use RKNN’s auto_hybrid option to retain high-error layers in floating point.
Positive training matches now account for both box and mask overlap; mask decoding is limited and uses safer precision to control memory use and avoid numerical overflow.
TensorFlow-family exports recognize existing ONNX Runtime variants, including Windows ML and Vitis AI builds, to avoid unnecessary runtime replacement.
The export Docker image now installs the full export dependency set, including LiteRT support.
An FCOS-style gate limits candidate anchors to pyramid levels suited to object size; ungated candidates are retained if the gate would leave a ground truth with none.
Confusion-matrix detections are matched in confidence order for more consistent results.
Model file extensions are now supported case-insensitively.
Training logs into an existing user-started run, adds training arguments to its config, and leaves the run open afterward.
With Voyager SDK 1.9.0, the yolo workflow supports export, prediction, and validation for every YOLO26 task; NMS-free detection is the default. SDK 1.8 exports remain compatible.
Existing dataset caches are rescanned using the updated label checks.
Dataset hashing now supports filenames with non-UTF-8 characters.
JetPack detection now includes JetPack 7.2.
Compatibility checks cover newer PyTorch and Torchvision releases.
URLs without extensions that return images are treated as single images.
Stream manifests are recognized regardless of extension capitalization, making stream data-source handling more robust.
Dataset lookup accepts .yml files as well as .yaml files.
Mask resizing is handled centrally in the prompt encoder.
CPU warmup now happens before timed inference, improving the reliability of inference timing.
Benchmarks use the dataset’s class vocabulary for a fairer comparison between PyTorch and exported models.
Skips overwriting tags with images built from newer commits.
Prompts persist across later images and video frames.
Uses MLflow's default tracking store when no tracking URI is set.
Training prints the model URL returned by the server, using its final owner, project, and model name; no link is printed if the server provides none.
Integration settings are now read for each training run.
Dynamic exports on Intel NPUs are pinned to the requested image size because these devices require fixed input dimensions.
Setting custom classes no longer caches the CLIP text encoder by default, producing much smaller YOLO-World checkpoints; caching can still be explicitly requested.
Fine-tuning and resuming preserve trained classification heads instead of reinitializing them.
16-bit TIFF and PIL images are converted to 8-bit before inference.
Fine-tuning for fewer classes can retain more learned features by transferring the class branch.
Loading pretrained weights transfers class names when appropriate and makes better use of RGB weights for grayscale models.
Each tracker now has its own track ID counter, isolating IDs between trackers.
Dynamic CoreML models process batches larger than their exported batch size in chunks.
Predictors and persisted trackers are rebuilt when their setup arguments change.
Saved crop filenames retain dotted source image and video names, making crops easier to match to their sources.
YouTube streams below 1080p are accepted.
Classification datasets now recognize more supported image formats.
ObjectCropper now saves upright crops aligned to each oriented bounding box, filling areas beyond the image with black.
Outputs from previous predict and val runs are replaced, and each video gets its own output name.
Exported ONNX models can run with the MIGraphX execution provider, selected automatically on supported systems with CPU fallback if unavailable.
When the compiler is missing, it is downloaded from an Ultralytics asset instead of Google's retired apt repository, avoiding apt and sudo requirements; an installed compiler on PATH is still used when available.
CutMix can paste semantic-mask regions even when there are no object instances.
Downloads are written to temporary files before being moved into place, and image repair and compression replace files safely to protect shared assets.
LVIS images are included even when they have no annotations.
Older semantic-mask caches are rebuilt to support the updated mask handling.
Tracked pose keypoints are colored by track ID in instance mode.
Dataset scanning flags semantic masks with invalid or unmapped class IDs.
Detection training can use a pose dataset by dropping keypoints during label verification.
Tooling 2
Python 3.14 is added to package support and several Docker and export environments; the Python export image remains on Python 3.13.
The wheel no longer installs the top-level tests package, avoiding conflicts with other projects; tests remain in the source distribution.
Fixes and other changes 286
Deterministic semantic, depth, and segment training is restored on MPS with torch versions below 2.3.
Distributed training no longer hangs when Platform cancels training mid-epoch.
Pose keypoints are no longer misplaced for models whose keypoints contain only x and y values.
MNN models return correct detections with device=mps and permuted tensor inputs.
ONNX models keep running on the GPU with CUDA 12 PyTorch installations.
Source manifests are read as UTF-8.
YOLOE tracking works with native ReID features.
Fixes classification prediction on float NumPy arrays.
Fixes weight quantization for legacy CoreML INT8 exports.
Fixes broken INT8 engines and keeps all head output layers in floating point, matching QAT behavior.
Fixes Tiger-Pose keypoint flips.
Float64 NumPy and tensor inputs are converted safely for Apple MPS, which does not support float64.
Profiling preserves fixed input dimensions when other dimensions are dynamic.
RT-DETR transformer components are kept out of INT8 to avoid severe accuracy drops on TensorRT 11.3 and 11.4.
Core AI exports are captured on CPU to fix failures when using device=mps.
LiteRT installation is fixed on Python 3.14.
Mask-IoU accumulation is kept outside caller autocast to address accuracy under mixed precision.
ONNX models run on MPS as CoreML ML Programs to address semantic crashes and CPU drift.
OpenVINO export and benchmarking are fixed for Intel devices.
Large training-completion requests are kept under the request size limit to prevent rejection.
Each concurrent prediction applies its own settings while holding the inference lock, preventing requests from using another request’s confidence threshold, IoU threshold, or image size.
Class IDs are preserved in certain palette-based semantic masks.
Builds using
YOLO("rtdetr-l.yaml")are fixed.Recognizes installed GPU builds and avoids replacing them with CPU builds during export, inference, and PaddleOCR setup.
Adds the missing dependency required by x2paddle, helping Paddle exports work in fresh environments.
LiteRT exports now run on CPU to avoid failures on MPS and incorrect results on CUDA.
NXP exports now run on CPU to avoid failures on MPS and incorrect results on CUDA.
Tiled merges remove covered seam fragments and handle empty predictions on Apple MPS; related fixes address tiled segmentation, validation memory, and class counts.
Skips requirements whose environment markers do not apply to the current environment.
Saving multispectral detection crops is fixed.
Dependency setup issues affecting these export targets are fixed.
The parser accepts spaces before the colon after quoted keys.
Exports are captured on CPU to fix wrong MPS output and CUDA crashes.
Box prompts that overlap no masks select none.
Flipped hands preserve landmark assignments by mapping flip_idx to identity.
Non-float masks are promoted to float32.
Prompts remain usable after an interrupted segment-everything call.
The SciPy fallback finds better matches and skips unused lap cost.
Prompt losses now handle smaller class counts correctly.
Class-name weight remapping now works when loading CPU checkpoints into GPU models.
Classification validation reports a helpful error when neither a val nor test split exists.
Stream prediction videos now use each stream’s actual frame rate, including in multi-stream setups, instead of assuming 30 FPS. Video-file and screen capture rates remain unchanged.
Dynamic INT8 builds on older GPUs such as the T4 use a safer minimum input size to avoid build failures for small inputs.
When calibration images are fewer than the requested batch size, images are repeated to fill the batch, helping avoid export failures with some runtimes.
YAML files with standard %YAML or %TAG headers can now be parsed instead of rejected.
On a first-epoch OOM retry, the batch size actually used by the data loader is reduced, which can help training succeed when the requested batch is larger than the dataset.
Pixel counts in single-class semantic dataset plots now show the foreground class rather than the background.
Profiling rebuilds the TensorRT engine for each run and rounds image size to the model’s stride, helping benchmark results reflect the requested settings.
Local training now sends the original run name, including underscores and non-English characters, for display on Ultralytics Platform.
Missing classification datasets now produce a clear file-not-found error instead of a confusing failed-download message.
Silences the Triton 3.9 FP fusion default warning that could appear during eager bmm profiling.
Saves NumPy float64 values as ordinary numbers so training settings such as sweep-generated learning rates can be reused from args.yaml.
Fixes block-scalar indentation, whitespace-only lines, and nodes on their own lines to make parsing more consistent with YAML conventions.
Analytics output uses the chart’s actual dimensions, avoiding empty output videos in some configurations.
DOTA readers and annotation visualization accept label files with a UTF-8 BOM.
Resuming selects the most recently modified checkpoint, including on Windows.
Semantic training preserves small positive class-weight totals when normalizing cross-entropy loss.
Counts FLOPs after the timed profiling pass to avoid gradient-related failures on older PyTorch versions, including on NVIDIA Jetson.
Saving plots now generates sensible .jpg filenames for webcam, video, or missing-path sources and creates parent directories when needed.
Saving results now generates sensible .jpg filenames for webcam, video, or missing-path sources and creates parent directories when needed.
Non-PNG semantic mask paths are resolved before label-cache hashing.
URL scheme handling is case-insensitive, including schemes such as HTTPS://, GS://, and UL://.
AutoBatch profiling better reflects the actual training loss for RT-DETR and semantic segmentation.
Annotated-only label lookup now works with relative image paths.
Class names are returned in class-ID order, keeping names aligned with class IDs.
Suffix checking now handles extensionless paths and dotted parent directories.
Student models can be loaded from checkpoints saved mid-run, and resumed distillation training retains wrapper state.
Labels are clipped to the tile window instead of dropping the affected tile.
ONNX Runtime variant reinstalls are handled correctly.
Objects that cross the projection plane are dropped to prevent perspective augmentation from creating huge ghost boxes.
The line_width type now matches the configuration and Annotator.
Semantic metrics correctly handle compact uint8 labels in the confusion index.
Strided video reads now start at frame 0.
Plotting uses a scaled copy instead of rescaling the shared batch, avoiding changes to shared image batches.
Class curves skip validation splits without labels and name rows by class index.
On PyTorch 2.8 and newer, each NCCL process group is explicitly bound to the GPU selected for its training rank, helping prevent device-mismatch errors with non-default GPU ordering.
Linux CUDA setups now install ONNX Runtime’s CUDA dependencies and preload their libraries, helping prevent missing cuRAND from causing inference to fall back to the CPU.
Batch-size selection better accounts for GPU memory available to the process.
Avoids an unnecessary NumPy downgrade during inference.
Prevents float64 CoreML outputs from crashing inference on MPS.
Fixes duplicate detections in segmentation exports.
Handles text prompts when no eligible masks qualify.
Fixes precision in oriented-box embedded NMS.
Prevents crashes when region coordinates are floating-point values.
Handles 2D grayscale NumPy images without an IndexError.
Fixed URL scheme handling for classification datasets.
Classification probabilities are preserved between inference calls, avoiding changes when a backend reuses its output buffer.
The segmentation prototype output node is detected from the exported model, accommodating different model activations.
Equivalent matrix multiplications replace several einsum operations, enabling affected YOLOE and YOLO-World models to export at lower opsets.
Handles results without boxes more safely.
Unreadable datasets are less likely to be misleadingly reported as datasets with no labels.
The export-only ReLU is applied only for LiteRT, avoiding the operation in QNN and other formats where the Intel NPU compiler workaround is not needed.
QNN exports keep input and output quantization inside the QNN context, avoiding an io_name_overrides attribute that Android’s built-in QNN Execution Provider cannot read.
Fixes imports for PyTorch 1.10–1.12 and MNN on affected x86_64 Linux systems with glibc 2.41 or later; other import errors are still raised normally.
Resuming classification training now retains the checkpoint’s image size.
Downsampled large confusion-matrix plots now retain the background row and column.
Downloads better support direct links and share URLs with uppercase characters.
16-bit PIL and NumPy images are scaled consistently with image paths when passed as LLM image input.
Clears an unused executable-stack flag in affected MNN x86_64 modules before import, allowing MNN export and inference to work on glibc 2.41+ systems.
TensorFlow export now uses a compatible 1.x version across Python versions, improving Edge TPU operation mapping.
Platform console capture now stops after training errors.
Failed training runs now close experiment-tracking runs.
Rectangular image sizes are handled correctly during classification prediction.
Dataset downloads now recognize archive URLs that include query strings.
Validation on a split without labels skips class-averaged PR curves and avoids unnecessary warnings.
LetterBox no longer crashes on 2D inputs that do not need resizing.
Reversed multipart segments are bridged at their closest points.
The bare intel device string no longer crashes these backends.
Resume no longer forks a duplicate model after a transient send failure.
Class filtering now preserves the polygon semantic background class.
Floating-point prompt masks retain negative and fractional values, avoiding unintended changes to mask-refinement inputs.
Checkpoint type determines the model wrapper, so specialized models load correctly even when saved under generic filenames such as best.pt.
A depth model's existing calibration is kept when it scores best, rather than being replaced with a worse calibration.
Rectangular calibration shapes are preserved for classification INT8 export.
COCO RLE masks are decoded during conversion for segmentation.
Distillation runs can resume when checkpoint loading is restricted.
Negative points reliably exclude masks regardless of prompt order.
JSON annotations are read as UTF-8, preserving non-ASCII grounding annotations.
Subset folder handling now aligns classifier validation labels with class IDs, improving reported validation accuracy.
Resize dimensions remain positive for very thin images.
Layout detection now works for grayscale exports.
NDJSON validation data is converted before YOLOE prompt setup.
16-bit NumPy prediction inputs are scaled to 8 bits to match image-file prediction behavior.
Resuming local training continues under the same Ultralytics Platform model.
INT8 calibration no longer crashes when exporting with rectangular input shapes.
One-row, one-column, and 1x1 depth maps remain 2D when saved.
URL schemes and archive extensions are compared case-insensitively.
Dataset scanning accepts labels with a UTF-8 byte-order mark.
W&B runs resume on Windows without requiring the latest-run symlink.
The warmup accumulation ramp is clamped to the capped nominal accumulate, addressing a training edge case.
Label verification now rejects boxes with negative dimensions while preserving coordinate tolerance and allowing zero-size boxes, catching invalid labels before validation plotting.
Linux drive discovery reports each block device once, avoiding duplicate entries caused by bind mounts.
Label files are named using the detector’s prediction output path, keeping labels matched to images with the same filename stem.
Depth maps for one-row, one-column, and 1×1 images retain their expected two-dimensional shape.
GPU metrics report the GPUs used by the training run rather than unrelated GPUs on the same machine.
.txt and .csv prediction-source lists work regardless of filename capitalization.
Tracked object angles stay consistent between frames instead of unexpectedly flipping.
Guidance clarifies TensorRT 11 DLA limitations.
Dataset discovery now prioritizes .yaml files before .yml files, preventing unrelated YAML files from breaking dataset loading.
Multiline text rendering is less likely to crash with Pillow 13.
Tracking camera-motion compensation updates box sizes and oriented-box angles appropriately, reducing geometry errors that could accumulate in tracks.
Unlabeled DOTA background images are skipped during data handling.
Conversion handles non-ASCII cache paths more reliably.
Returns an empty list instead of failing when there are no boxes or oriented boxes.
Validation text labels use split-relative image paths so images with the same filename in different folders are not merged into one label file.
Transient GitLab mirror failures get one retry before failing.
Validation filters out unrequested classes before applying the detection limit.
Prompts target the image area rather than letterbox padding, avoiding empty masks and improving results on narrow images.
JetPack 6 with TensorRT 10.3 now returns an actionable error for unsupported INT8 exports with embedded NMS.
Compilation falls back gracefully on CUDA systems without working Triton.
An unsafe graph rewrite was removed to preserve correct model outputs.
The pose loss is more numerically stable; sigma underflow no longer disables the RLE loss.
ZIP archives with a root
./entry no longer crash extraction.Optimizer FP16 conversion retains momentum in FP32 in checkpoints.
Avoids an unsupported reduction by casting the int8 mask to int64 for max reduction.
Displays plain argument errors and skips callables in suggestions.
Corrects confusion-matrix orientation and labels in Comet logging.
Corrects confusion-matrix logging, including cases where no matrix is available.
Dynamic-shape ONNX nodes no longer use the CoreML execution provider on MPS.
Preserves distinct polygons for same-box grounding segmentation results.
Clamps full-integer inputs before casting.
Full-integer LiteRT inputs are clamped before casting.
NDJSON datasets are read with UTF-8 encoding.
Tracking handles equivalent box representations more consistently.
Class labels remain aligned when validation data omits classes.
Validation sends task-specific curves for segmentation and pose, improving alignment with results.
Downsamples mask prompts to the encoder's low-resolution size to prevent crashes.
Tracking preserves object IDs when masks are blank.
Fixes screenshot prediction when monitor and region parameters are used.
Handles UTF-8 BOM source manifests correctly.
Validation uses the non-square input shape recorded in a static export.
Validates exports at their recorded input shape.
Writers close cleanly during trainer teardown.
TorchScript exports load on Apple MPS by casting traced float64 scalars to float32.
Load on MPS by casting traced float64 scalars to float32.
Creates a missing configuration directory instead of falling back to /tmp.
Fixes loading by model name, prediction, validation, export, and ReID tracking for YOLO-NAS.
Preserves full directory names when creating ZIP archives.
Inference falls back to a compatible execution path when output shapes contain symbolic dimensions.
PIL prediction inputs now respect EXIF orientation.
Only actual HTTP(S) URLs are downloaded, so local paths beginning with http are not mistaken for links.
Checkpoints preserve small RMSprop gradient-history values so resumed training avoids unexpectedly large updates.
Prompts supplied for a directory or video now apply to every image or frame, and coordinate scaling no longer mutates caller-owned NumPy arrays or tensors.
Runs shorter than the gradient accumulation interval now take at least one optimizer step, avoiding runs that end without updating the model.
Fixes improve final plot logging, offline resume IDs, project and run naming, and cleanup after interrupted or failed runs.
Albumentations is reseeded in each DataLoader worker.
Floating-point NumPy images are accepted with grayscale models.
FP16 inference no longer produces empty masks.
NPU inference handles batches and depth outputs more reliably.
The channel swap in crops passed to embedding models is fixed.
Reused SAM predictors reset state for new images and videos.
Stream loaders preserve fractional and high frame rates.
Per-tracker track ID counters can be pickled on Python 3.14.
Detection validation matches predictions to eligible targets in confidence order, reducing missed matches.
Logs preserve non-ASCII class names and paths on Windows.
The mask-thresholding change was reverted after it reduced segmentation mAP.
When a changed train/validation ratio reassigns an image, its old split copy is removed; nested class paths are preserved.
Text-prompt World and YOLOE trainers skip cls_pw, and classes without training labels remain neutral in its weights.
Validation no longer skips the final partial batch.
COCO annotations without labeled keypoints are skipped during conversion.
CoreML inference handles empty frames.
Depth prediction stretches input images to match validation and calibration.
Exports with embedded NMS support larger inference batches.
Prediction routes extensionless image URLs and RTSP, RTMP, or TCP streams with video-like suffixes correctly.
Fixes address stale image caches and multi-stream tracking behavior.
The backend now returns every model output.
Pose models built from YAML now receive keypoint metadata needed for prediction.
Letterbox padding is cropped on whole pixels.
RGBA TIFFs are read as three channels when used with three-channel models.
Semantic validation uses 64-bit pixel counts to handle large counts accurately.
Static TorchScript exports are validated at the image size used for export.
YOLOE CoreML export works with dynamic shapes enabled.
Backward-pass profiling now finds tensors in nested model outputs, enabling more accurate YOLO26 memory measurements and potentially different automatic batch-size selections.
Dataset splitting preserves the caller's random state.
Fast-NMS retains detections when the IoU threshold is zero.
Calibration images are materialized for reuse, allowing calibration methods that revisit their input data to work as intended.
Warnings about INT8 calibration are limited to export formats that support calibration data.
Model-format detection uses the terminal file suffix to handle compound filenames more reliably.
Tracking hides unconfirmed tracks when appropriate without dropping first-frame detections.
Per-axis gains use the rounded letterbox size.
Corrupted dataset caches trigger a rescan.
Recovery now correctly restarts the recovered epoch.
Static INT8 exports can calibrate when the dataset is smaller than the requested batch.
Matching costs are computed in float32 to avoid AMP precision errors affecting training assignments.
The RT-DETR save_txt behavior is fixed.
Crop coordinates are converted to integers, and JPEG output collisions are fixed.
Resumed runs now preserve the selected optimizer and early-stopping progress.
Background-first detection and rerun duplicates are fixed; jpeg and uppercase masks are accepted.
Fixes several analytics behaviors.
Existing image caches can be read across cache modes.
Fixes several mask behaviors.
Improves pose keypoint scaling in LiteRT and RKNN.
Corrects denoising query matching during RT-DETR training.
Detection and classification datasets again save disk-cache files as image.npy, allowing existing caches to be reused instead of rebuilt; same-stem images with different extensions can share a cache name.
Distinct segmentation polygons and pose keypoints sharing a class and bounding box are preserved; exact duplicate output annotations are still removed, and detection continues to deduplicate boxes.
Cache filenames retain the original image extension, preventing same-stem images with different extensions from sharing a cache file in detection-family and classification datasets.
16-bit semantic masks preserve their IDs and flag invalid classes.
AVIF images with EXIF orientation are read upright.
CLI run name parsing is fixed.
Disk caches refresh when source images change, avoiding stale training images.
Short inputs are padded to the required batch size, and extra outputs are removed afterward.
Fractional frame rates are preserved when reading videos, helping avoid playback timing drift.
Palette PNG masks retain their class IDs during conversion, preventing incorrect labels.
Images with the same filename stem receive distinct output names, preventing prediction files from being overwritten.
Re-identification models initialize embeddings with an in-memory image, avoiding a missing-source warning and unnecessary asset-image inference.
Dataset handling retains pixel values from 16-bit masks.
Loading existing .npy images now respects the selected cache mode, avoiding stale disk-cached images.
Stale copies from classification re-splitting are fixed.
Image utilities apply EXIF orientation, including for annotation visualization and image compression.
Resized instance masks no longer shrink during validation, making segmentation results better match the original image dimensions.
The final batch=1 training check now includes the multi_scale minimum size.
Dataset handling preserves class IDs in Pascal VOC-style palette PNG masks, reducing the chance that masks are rejected or interpreted with incorrect class IDs.
Relative directories and globs in prediction source lists are resolved.
Saved videos preserve fractional frame rates and duration when using vid_stride.
Saving semantic predictions preserves the correct letterbox crop.
yolo_bbox2segment is fixed for NumPy>=2.4.
Custom spatial lists work on detection labels with older Albumentations releases.
Fixes class histories being mixed up in analytics area charts.
Auto-splits are deterministic so reruns do not leak validation data into training.
Creates label subfolders when file_name contains a directory.
Writes LVIS image lists relative to the list file.
Depth resizing now follows the same alignment convention used during training and validation.
Selects one object per click.
Whitespace-only lines are skipped when parsing label files.
Corrects flips for instance boxes represented as left-top-width-height.
Source images are kept when outputs collide or fail to write, reducing the risk of data loss.
The crop ends at the letterbox content when padding is odd.
Duplicate segment labels are identified by comparing polygons rather than their bounding boxes.
Saved masks are restored to the original image size without letterbox padding.
Empty paths are ignored in TXT and CSV prediction sources.
Avoids a CPU instruction path that could crash on some Windows machines.
Fixes memory growth in PIL-based annotation caused by a font reference cycle.
The default activation is restored after parse_model overrides it.
Valid .jp2 images are no longer incorrectly dropped as corrupt during dataset scans.
Format-specific export options are applied correctly for mixed-case and alias formats.
FLOPs estimation uses THOP 2.2.0 stride profiling, avoiding full-size profiling for affected attention-based models and RT-DETR.
Bracketed CLI values are joined correctly after '=' merging.
ObjectCropper no longer crashes when used with OBB models.
Multi-row CSV prediction sources are parsed correctly.
Prediction writers and sources are released when a stream ends early.
Resuming keeps the checkpoint dataset.
Returns early for segments fully outside the image.
Prevents stale calibration cache reuse.
Tracker callbacks no longer run during plain prediction.
Batches now stay within one video, fixing FPS mix-ups when processing videos with different frame rates.
Distillation works across teacher and student models with different head layouts.