Convert DeepLabCut dataset to YOLO format
Project description
deeplabcut2yolo
Convert DeepLabCut dataset to YOLO format
Quick Start
import deeplabcut2yolo as d2y
json_path = "./deeplabcut-dataset/labels.json"
csv_path = "./deeplabcut-dataset/collected_data.csv"
root_dir = "./deeplabcut-dataset/images/"
d2y.convert(json_path, csv_path, root_dir, n_class=2)
To install deeplabcut2yolo using pip:
pip install deeplabcut2yolo
See example in example-marmosets.ipynb
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-1.0.tar.gz
(40.8 kB
view hashes)
Built Distribution
Close
Hashes for deeplabcut2yolo-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 064f41735f6da9e3390ffd34f501337206eaf391ee5e2c9ca43f2f731c0bdd5a |
|
MD5 | ca512f9c8b7757042d715c84ab986e0a |
|
BLAKE2b-256 | c2951e04a19d16e4fa32bf4db7c7d6533398231a52c6e41e70f17e1505d32c63 |