Skip to main content

Convert DeepLabCut dataset to YOLO format

Project description

deeplabcut2yolo

Convert DeepLabCut dataset to YOLO format,
Lightning-fast and hassle-free.

License: GPL v3 PyPI - Version PyPI Downloads

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!

Quick Start

import deeplabcut2yolo as d2y

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

See examples in the examples/ directory.

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. (2024). Deeplabcut2yolo: A Python Library for Converting DeepLabCut Dataset to YOLO Format (Version 2.2) [Computer software]. GitHub. https://github.com/p-sira/deeplabcut2yolo/

or this BibTeX entry.

@software{deeplabcut2yolo,
    author = {{Pornsiriprasert, S}},
    title = {Deeplabcut2yolo: A Python Library for Converting DeepLabCut Dataset to YOLO Format},
    url = {https://github.com/p-sira/deeplabcut2yolo/},
    version = {2.2},
    publisher = {GitHub},
    year = {2024},
    month = {11},
}

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

deeplabcut2yolo-2.2.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

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

deeplabcut2yolo-2.2-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file deeplabcut2yolo-2.2.tar.gz.

File metadata

  • Download URL: deeplabcut2yolo-2.2.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for deeplabcut2yolo-2.2.tar.gz
Algorithm Hash digest
SHA256 d6e59d55ea96688e406357c542f198c549bba84945ceb128b85c02080a32f55e
MD5 4c0f06195c5d210817e88ce720e4f667
BLAKE2b-256 30292df9a21d4e7732dc79a7e7c72e8023636335617fa764c69cf925c877ae1c

See more details on using hashes here.

File details

Details for the file deeplabcut2yolo-2.2-py3-none-any.whl.

File metadata

  • Download URL: deeplabcut2yolo-2.2-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for deeplabcut2yolo-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21c8cfcef713f86835c5610437f8becb8915eec2a2883a4b4e0bbb089b0f8e91
MD5 16d827b41b3d5b380053921353a916a1
BLAKE2b-256 de6fe2e0bc1d83e6cbaeb918af14e258afa10471ab4373ba28115db2d07533a6

See more details on using hashes here.

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