Libre YOLO - An open source YOLO library with MIT license.
Project description
LibreYOLO
⭐ 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).
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.
Installation & Quick start
pip install libreyolo
To install from source 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.
All trainable families in the Training column accept universal training
hooks via callbacks= and built-in experiment loggers via loggers=
(tensorboard, mlflow, wandb).
| Model family | Inference | Training | Export formats | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Detection | Segmentation | Semantic | Classification | Pose | OBB | Gaze | ONNX | TorchScript | TensorRT | OpenVINO | NCNN | TFLite | ||
| ⭐ YOLOv9 | ✓ | exp | exp | exp | exp | exp | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ||
| ⭐ RF-DETR | ✓ | ✓ | exp | exp | exp | exp | ✓ | ✓ | ✓ | ✓ | ✓ | exp | ||
| YOLOX | ✓ | exp | exp | exp | exp | exp | exp | |||||||
| YOLOv9-E2E | ✓ | exp | exp | exp | exp | |||||||||
| YOLO-NAS | ✓ | ✓ | exp | exp | exp | exp | exp | exp | ||||||
| D-FINE | ✓ | exp | exp | exp | exp | exp | ||||||||
| DEIM | ✓ | exp | exp | exp | exp | exp | ||||||||
| DEIMv2 | ✓ | exp | exp | exp | exp | exp | ||||||||
| RT-DETR | ✓ | exp | exp | exp | exp | exp | ||||||||
| RT-DETRv2 | ✓ | exp | ||||||||||||
| RT-DETRv4 | ✓ | exp | ||||||||||||
| PicoDet | ✓ | exp | exp | exp | ||||||||||
| RTMDet | ✓ | exp | ||||||||||||
| EC | ✓ | ✓ | ✓ | exp | ||||||||||
| MobileNetV4 | ✓ | ✓ | ✓ | |||||||||||
| ConvNeXt | ✓ | ✓ | ✓ | |||||||||||
| EfficientNetV2 | ✓ | ✓ | ✓ | |||||||||||
| ResNet | ✓ | ✓ | ✓ | |||||||||||
| L2CS | ✓ |
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libreyolo-1.3.0.tar.gz.
File metadata
- Download URL: libreyolo-1.3.0.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
490a2da7c335914efa46846d3a149919697e0e971019eaae72b86061d5c65a85
|
|
| MD5 |
d8678a53822ee923312e0ff67b91cb31
|
|
| BLAKE2b-256 |
3bdb353d1a5bafa0a7895eea7b728f1e67f671bed682dd6a08ace3990bc317b7
|
Provenance
The following attestation bundles were made for libreyolo-1.3.0.tar.gz:
Publisher:
publish.yml on LibreYOLO/libreyolo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
libreyolo-1.3.0.tar.gz -
Subject digest:
490a2da7c335914efa46846d3a149919697e0e971019eaae72b86061d5c65a85 - Sigstore transparency entry: 2027371253
- Sigstore integration time:
-
Permalink:
LibreYOLO/libreyolo@d94db4618b90de9e657c911187b065b7ced5d9e0 -
Branch / Tag:
refs/tags/v1.3.0 - Owner: https://github.com/LibreYOLO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d94db4618b90de9e657c911187b065b7ced5d9e0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file libreyolo-1.3.0-py3-none-any.whl.
File metadata
- Download URL: libreyolo-1.3.0-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89fea5ef0936ee0fba481e612a5b07b3d55ee2ec35e691730a41a9bb91f6d5b7
|
|
| MD5 |
4cf755568347f7a739c9b059be223885
|
|
| BLAKE2b-256 |
cf24fdf1f358e6423e49fcd0002b2ac45ed00ec0967b1b97442a00f4adcd274f
|
Provenance
The following attestation bundles were made for libreyolo-1.3.0-py3-none-any.whl:
Publisher:
publish.yml on LibreYOLO/libreyolo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
libreyolo-1.3.0-py3-none-any.whl -
Subject digest:
89fea5ef0936ee0fba481e612a5b07b3d55ee2ec35e691730a41a9bb91f6d5b7 - Sigstore transparency entry: 2027371384
- Sigstore integration time:
-
Permalink:
LibreYOLO/libreyolo@d94db4618b90de9e657c911187b065b7ced5d9e0 -
Branch / Tag:
refs/tags/v1.3.0 - Owner: https://github.com/LibreYOLO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d94db4618b90de9e657c911187b065b7ced5d9e0 -
Trigger Event:
push
-
Statement type: