Skip to main content

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

Project description

LibreYOLO

Documentation PyPI License

MIT-licensed object detection library with training and inference support across YOLOv9 (t, s, m, c), YOLOX (n, t, s, m, l, x), YOLO-NAS (s, m, l), RF-DETR (n, s, m, l), and D-FINE (n, s, m, l, x).

LibreYOLO Detection Example

Installation

pip install libreyolo

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

Inference Backend and Export Support

Format Status

Format Export Runtime backend Status Precision Notes
ONNX Yes ONNX Runtime Supported FP32, FP16 Release-blocking export path and the broadest tested runtime target.
TorchScript Yes PyTorch JIT Experimental FP32, FP16 Useful compatibility target, but not a release gate.
TensorRT (tensorrt / trt) Yes TensorRT Experimental FP32, FP16, INT8 CUDA-only path. INT8 requires calibration data.
OpenVINO Yes OpenVINO Experimental FP32, FP16, INT8 Runtime-specific path with CPU-oriented deployment coverage.
NCNN Yes NCNN Experimental FP32, FP16 Highest maintenance overhead today. No INT8 path, and some DETR-family models are not supported.

The e2e suite mirrors this policy with pytest markers: supported_backend for ONNX and experimental_backend for the other export backends.

Model Family Matrix

supported, ~ supported with caveats, intentionally unsupported

Model family ONNX TorchScript TensorRT OpenVINO NCNN
YOLOX
YOLOv9
YOLO-NAS
RF-DETR ~ ~
D-FINE
RT-DETR

Notes:

  • RF-DETR TorchScript export exists, but tracing can still be brittle on some checkpoints and shapes.
  • NCNN is intentionally blocked for D-FINE and RT-DETR because the runtime lacks required DETR query-selection ops.
  • RF-DETR on NCNN is not blocked at export time, but current e2e coverage still tracks known runtime limitations.

Quick Start

from libreyolo import LibreYOLO, SAMPLE_IMAGE

# Auto-detect family and size from the checkpoint name
model = LibreYOLO("LibreYOLOXs.pt")
result = model(SAMPLE_IMAGE, save=True)

print(f"Detected {len(result)} objects")
print(result.boxes.xyxy)
print(result.saved_path)

Documentation

Full documentation at libreyolo.com/docs.

License

  • Code: MIT License
  • Weights: Pre-trained weights may inherit licensing from the original source

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.1.1.tar.gz (738.7 kB view details)

Uploaded Source

Built Distribution

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

libreyolo-1.1.1-py3-none-any.whl (787.1 kB view details)

Uploaded Python 3

File details

Details for the file libreyolo-1.1.1.tar.gz.

File metadata

  • Download URL: libreyolo-1.1.1.tar.gz
  • Upload date:
  • Size: 738.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for libreyolo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a25bb2643e7001ffe1ed5de2e51c3d2f78ade547ade225ac707035a674013bdc
MD5 5f0f00f0cbef7e8e1f5eda2ca15d2dbd
BLAKE2b-256 ef161f4906280bd80176bf4f579f844b5a12b98c65dfc7098c12e7b8b9b8efd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for libreyolo-1.1.1.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.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for libreyolo-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d60b252bda0f9f11cd5d3016d3470168f6ff93e0cdf2c39143357c0df19669f5
MD5 b3aeed07e633adea124e25ad908b7924
BLAKE2b-256 334593f7bec9f9c041002f448a2412f6185bc05ba082c98b16096f8177d288fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for libreyolo-1.1.1-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