deeplabcut2yolo

Convert DeepLabCut to YOLO

https://github.com/p-sira/deeplabcut2yolo

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.6%) to scientific vocabulary

Keywords

ai deeplabcut yolo yolov8 yolov8-pose yolov8-segmentation yolov8n
Last synced: 11 months ago · JSON representation

Repository

Convert DeepLabCut to YOLO

Basic Info
  • Host: GitHub
  • Owner: p-sira
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 21.1 MB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
ai deeplabcut yolo yolov8 yolov8-pose yolov8-segmentation yolov8n
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License Citation

README.md

deeplabcut2yolo

Convert DLC to YOLO,\ Lightning-fast and hassle-free.

License: GPL v3 PyPI Package Version Package Total Downloads Documentation

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!

Results from d2y 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

```python import deeplabcut2yolo as d2y

In its simplest form,

d2y.convert("./deeplabcut-dataset/")

To also generate data.yml

d2y.convert( datasetpath, trainpaths=trainpaths, valpaths=valpaths, skeletonsymmetricpairs=skeletonsymmetricpairs, dataymlpath="data.yml", classnames=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 Python Library for Converting DeepLabCut Dataset to YOLO Format (Version 2.2.5) [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.5}, publisher = {GitHub}, year = {2025}, month = {5}, }

Owner

  • Name: Sira Pornsiriprasert
  • Login: p-sira
  • Kind: user

GitHub Events

Total
  • Create event: 5
  • Issues event: 2
  • Release event: 3
  • Watch event: 4
  • Delete event: 1
  • Issue comment event: 4
  • Push event: 28
  • Pull request event: 5
Last Year
  • Create event: 5
  • Issues event: 2
  • Release event: 3
  • Watch event: 4
  • Delete event: 1
  • Issue comment event: 4
  • Push event: 28
  • Pull request event: 5

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 6
  • Average time to close issues: 12 days
  • Average time to close pull requests: 1 minute
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.67
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 1
  • Pull requests: 6
  • Average time to close issues: 12 days
  • Average time to close pull requests: 1 minute
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.67
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 2
Top Authors
Issue Authors
  • HongJunShan (1)
Pull Request Authors
  • p-sira (4)
  • dependabot[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2) python (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 81 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 13
  • Total maintainers: 1
pypi.org: deeplabcut2yolo

Convert DeepLabCut dataset to YOLO format

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 81 Last month
Rankings
Dependent packages count: 10.4%
Average: 34.4%
Dependent repos count: 58.5%
Maintainers (1)
Last synced: 12 months ago