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.0.tar.gz (260.9 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.0-py3-none-any.whl (311.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libreyolo-1.1.0.tar.gz
  • Upload date:
  • Size: 260.9 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.0.tar.gz
Algorithm Hash digest
SHA256 e949f8708b131a5d752aa9674b316842209396e6b8700aabbef56e6d90297793
MD5 02eae21e6377aba2b672e098a99bbfca
BLAKE2b-256 b96395f684ed215302242e585055c9b03ad5070d4b76e0da1cb3a89b53aaaf66

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: libreyolo-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 311.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afdf00ea3b073ea08c02b43087b97d1914ab595e303b6631a249b25b15e3da23
MD5 ee7002f8bcad57baed33b95b17163eab
BLAKE2b-256 53721ec2457c88063381137bd62ae6cd474547ed5e13df8aca3c9ebfb8825d2e

See more details on using hashes here.

Provenance

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