Skip to main content

Libre YOLO - An open source YOLO library with MIT license.

Project description

LibreYOLO

English | 简体中文

Support LibreYOLO. The best way to help is to star the repo. Feel free to open an issue if you encounter problems or have suggestions, and code contributions are very welcome (see CONTRIBUTING.md). We are also looking for sponsors to donate GPU resources to the project. If you or your company can help, please reach out on LinkedIn.

Documentation PyPI PyPI Downloads Hugging Face Benchmarks LinkedIn License

MIT-licensed computer vision library with inference and training support for a variety of models. It provides a familiar high-level Python and CLI interface and reads common YOLO-format datasets, so existing workflows port over with minimal changes.

LibreYOLO Detection Example

Installation & Quick start

pip install libreyolo

To install the latest main in editable mode (for development or to track unreleased changes):

git clone https://github.com/LibreYOLO/libreyolo.git
cd libreyolo
pip install -e .

For optional runtime and export dependencies such as ONNX Runtime, OpenVINO, TensorRT, NCNN, and RF-DETR, see the full docs.

from libreyolo import LibreYOLO, SAMPLE_IMAGE

model = LibreYOLO("LibreYOLO9t.pt")
result = model(SAMPLE_IMAGE, save=True)

Flagship models

LibreYOLO recommends these model families because they offer the best balance and receive the heaviest testing:

  • YOLOv9 for CNN-based YOLO models.
  • RF-DETR for transformer-based detection and segmentation.

Compatibility

supported, exp experimental. Empty cells are not currently supported.

Model family Inference Training Export formats
Detection Segmentation Pose ONNX TorchScript TensorRT OpenVINO NCNN
YOLOv9
RF-DETRexp
YOLOX
YOLOv9-E2E
YOLO-NAS
D-FINEexp
DEIMexp
DEIMv2exp
RT-DETR
RT-DETRv2exp
RT-DETRv4exp
PicoDetexp
ECexp

License

  • Code: MIT License
  • Weights: Pre-trained weights may inherit licensing from the original source. Check the license in the specific HF repo of weights that you are interested in. LibreYOLO HF models always have a license.

Releases

  • v1.1.0 (2026-04-27): New model families (YOLO-NAS, D-FINE, RT-DETR), instance segmentation, ByteTrack tracking, video inference, and a brand-new CLI. See the release notes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libreyolo-1.2.0.dev0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libreyolo-1.2.0.dev0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file libreyolo-1.2.0.dev0.tar.gz.

File metadata

  • Download URL: libreyolo-1.2.0.dev0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for libreyolo-1.2.0.dev0.tar.gz
Algorithm Hash digest
SHA256 0bd20df431d7ea34446006dd3908c70df1e487825383bc0f018e61ac787b7659
MD5 f01d85b07a38d92845cdc006b3cd48a7
BLAKE2b-256 9a85659213742c4c7809b4c79e512dec76a5176b128b8e16f75951f2d8e6ef5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for libreyolo-1.2.0.dev0.tar.gz:

Publisher: publish.yml on LibreYOLO/libreyolo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libreyolo-1.2.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: libreyolo-1.2.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for libreyolo-1.2.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc675394f078f9b0fe75bb66f4922a5c30232378b4f24103ec4f42b338e73ab7
MD5 50093039a1120c74becaa068bbc61e67
BLAKE2b-256 0117ca8ed83f8c16bb6fbb972463d9229d35a5161afcee3e7876e4e11fd1056e

See more details on using hashes here.

Provenance

The following attestation bundles were made for libreyolo-1.2.0.dev0-py3-none-any.whl:

Publisher: publish.yml on LibreYOLO/libreyolo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page