deeplabcut2yolo
Convert DLC to YOLO,
Lightning-fast and hassle-free.
deeplabcut2yolo facilitates training DeepLabCut datasets on YOLO models. Deeplabcut2yolo automatically converts DeepLabCut (DLC) labels to COCO-like format compatible with YOLO, while providing customizability for more advanced users, so you can spend your energy on what matters!
All DeepLabCut datasets belong to their respective owner under CC BY-NC 4.0. This particular image is the training data for YOLO, converted using deeplabcut2yolo from the Tri-Mouse dataset (Lauer et al., 2022).
Quick Start
import deeplabcut2yolo as d2y
# In its simplest form,
d2y.convert("./deeplabcut-dataset/")
# To also generate data.yml
d2y.convert(
dataset_path,
train_paths=train_paths,
val_paths=val_paths,
skeleton_symmetric_pairs=skeleton_symmetric_pairs,
data_yml_path="data.yml",
class_names=class_names,
verbose=True,
)
To install deeplabcut2yolo using pip:
pip install deeplabcut2yolo
For more information, see examples and documentation.
Features
- Automatically detect default DeepLabCut dataset structure
- Vectorized label conversion
- Support single- and multi-animal projects
- Convenient data.yml generation function for YOLO models
Contribution
You can contribute to deeplabcut2yolo by making pull requests. Currently, these are high-priority features:
- Testing module and test cases
- Documentation
Citation
Citation is not required but is greatly appreciated. If this project helps you, please cite using the following APA-style reference:
Pornsiriprasert, S. (2025). Deeplabcut2yolo: A DeepLabCut-to-YOLO Dataset Converter for Python (v2.2.7). Zenodo. https://doi.org/10.5281/zenodo.17386187
or this BibTeX entry.
@software{pornsiriprasert2025,
author = {Pornsiriprasert, Sira},
title = {Deeplabcut2yolo: A DeepLabCut-to-YOLO Dataset Converter for Python},
month = dec,
year = 2025,
publisher = {Zenodo},
version = {v2.2.7},
doi = {10.5281/zenodo.17386187},
url = {https://doi.org/10.5281/zenodo.17386187},
}
Metadata
Release files for deeplabcut2yolo 2.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deeplabcut2yolo-2.2.9.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deeplabcut2yolo-2.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.3 kB
Release files / deeplabcut2yolo-2.2.9.tar.gz
| Download URL | deeplabcut2yolo-2.2.9.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4428c0f31d0c08b31715c202843c1f8ca8ab181ff62b9e07c6a32dad7e983ef8
|
|
BLAKE2b-256 checksum How to use checksums |
e32323aae8835025956091961ea5a58cea26e2c915078c3f528f0253949db3b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 25, 2026.
Transparency logRelease files / deeplabcut2yolo-2.2.9-py3-none-any.whl
| Download URL | deeplabcut2yolo-2.2.9-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72a5fc84b1f63c315649af28ab6bb3ec68893df1ca4675feb15388e52558b401
|
|
BLAKE2b-256 checksum How to use checksums |
d2664dc288807d7a4f89320227186de5814ba4547249b5bb82f3a1d936dfeecb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 25, 2026.
Transparency log