New Release: Ultralytics v8.3.234

:rocket: Ultralytics v8.3.234 Release – Safer, Smoother, More Robust

Ultralytics v8.3.234 is a focused maintenance release that improves model metadata safety, Albumentations training robustness, and the docs & tooling experience. No breaking changes and fully safe to drop into existing YOLO workflows. :white_check_mark:

If you are using YOLO11 or other Ultralytics YOLO models today, you can upgrade confidently and benefit from better security, stability, and documentation UX.


:glowing_star: Summary

  • :locked_with_key: Safer handling of model metadata in exports using ast.literal_eval
  • :test_tube: More robust Albumentations label shapes for training pipelines
  • :snake: Cleaner dev experience with Python 3.10+ alignment
  • :movie_camera: New segmentation video tutorial for object isolation
  • :robot: Upgraded in-docs LLM assistant for a smoother docs experience
  • :sparkles: JavaScript and CSS cleanups improving docs UI maintainability

You can review the full release entry in the Ultralytics GitHub v8.3.234 release notes.


:new_button: New & Notable

:locked_with_key: Safer model metadata parsing

Model export paths now use ast.literal_eval instead of eval when parsing string metadata such as imgsz, names, kpt_shape, kpt_names, and args in torch_to_mnn inside the autobackend. This greatly reduces the risk of executing arbitrary code from crafted metadata in exported models.

A few remaining eval calls in cfg2task are now explicitly marked with # nosec B307 to document that they are controlled and safe for known attributes.


:test_tube: More robust Albumentations label handling

Albumentations-based pipelines can now rely on consistent label shapes:

  • labels["cls"] is always reshaped to a 2D column array (num_boxes, 1)
  • This prevents subtle shape mismatch issues during training when chaining transforms

Implemented in fix: reshape class labels in Albumentations transform by @onuralpszr.


:books: Docs, Tutorials & UI Enhancements

:movie_camera: New segmentation video tutorial

The object isolation with segmentation guide now includes a step‑by‑step YouTube tutorial showing how to:

  • Use Ultralytics YOLO segmentation + OpenCV in Python
  • Remove backgrounds and isolate objects from images

Added in Add segmentation video tutorial to docs by @RizwanMunawar.

A minimal example for segmentation-based object isolation might look like:

from ultralytics import YOLO
import cv2

model = YOLO("yolo11n-seg.pt")  # example segmentation model
results = model("image.jpg")

for r in results:
    for mask in r.masks.data:
        # Convert mask tensor to uint8 image
        m = (mask.cpu().numpy() * 255).astype("uint8")
        # Apply mask to original image as needed

:robot: Upgraded in-docs LLM chat widget

The embedded Ultralytics chat widget used in the docs has been upgraded through several versions to improve:

  • Stability and responsiveness
  • Feature set for in‑browser assistance

This was done across:

No user‑side configuration changes are required; you will simply get a better helper when browsing docs.


:sparkles: JavaScript & CSS cleanups

Docs UI scripts and styles received a round of cleanup to improve maintainability and reduce subtle bugs:

  • Modernized JavaScript with arrow functions, template literals, Number.parseInt, Number.parseFloat, and Number.isNaN
  • Cleaned CSS by removing excessive !important and clarifying key UI components

These changes landed in:


:link: Documentation & link updates

A few docs have been updated to provide more reliable commands and accurate external links:


:man_technologist: Developer Experience & Tooling

:snake: Python 3.10+ alignment for dev installs

The zensical dev dependency now explicitly requires Python 3.10 or higher, aligning with what the docs tooling already expects. This helps avoid confusing dependency resolution errors when you work on Ultralytics in dev mode.

If you contribute to Ultralytics or develop locally, a typical setup remains:

pip install -e ".[dev]"

Just ensure you are on Python 3.10+.


:1234: Version Bump

The library version was updated from 8.3.233 to 8.3.234, captured in:

You can compare all changes in the full diff using the GitHub v8.3.233 → v8.3.234 comparison view.


:bullseye: Why Upgrade?

  • :shield: Stronger safety when loading and exporting models, especially if you work with external or untrusted weights
  • :gear: More stable training when using Albumentations-heavy pipelines
  • :man_technologist: Clearer dev environment requirements and smoother contributor experience
  • :books: Better learning resources, particularly around segmentation and deployment on edge hardware
  • :robot: Improved docs assistant, giving you a more helpful in-browser companion

All of this comes without changing your existing YOLO training or inference code.


:white_check_mark: How to Try It

Upgrade to the latest Ultralytics release:

pip install -U ultralytics

Then run a quick check with your usual command, for example:

yolo detect predict model=yolo11n.pt source=path/to/images

or for segmentation:

yolo segment predict model=yolo11n-seg.pt source=path/to/images

:speech_balloon: Feedback & Discussion

The Ultralytics team and community would love to hear how v8.3.234 works for you:

  • Did the safer metadata parsing help with any exported models?
  • Are Albumentations pipelines running smoother?
  • Any suggestions for the docs, tutorials, or tooling?

Please share your thoughts, questions, or issues in this thread or open an issue or discussion in the Ultralytics GitHub repository. Your feedback directly shapes future YOLO and Ultralytics releases. :folded_hands: