Convert Roboflow datasets into HuggingFace datasets format and upload to HuggingFace Hub.
Project description
roboflow2huggingface
Convert Roboflow datasets into HuggingFace datasets format and upload to HuggingFace Hub.
Supports image-classification
, object-detection
, and instance-segmentation
formats.
installation
pip install roboflow2huggingface
api usage
from roboflow2huggingface import roboflow_to_huggingface_pipeline
roboflow_to_huggingface_pipeline(
roboflow_universe_url='https://universe.roboflow.com/boxer5/123-qq5ea/dataset/6',
roboflow_api_key=YOUR-ROBOFLOW-API-KEY,
hf_dataset_id=DESIRED-HF-HUB-ID,
hf_write_token=YOUR-HF-WRITE-TOKEN,
)
cli usage
roboflow2huggingface --roboflow_universe_url https://universe.roboflow.com/boxer5/123-qq5ea/dataset/6 --roboflow_api_key YOUR-ROBOFLOW-API-KEY --hf_dataset_id DESIRED-HF-HUB-ID --hf_write_token YOUR-HF-WRITE-TOKEN
converted datasets
Check converted datasets on the 🤗 hub: https://huggingface.co/datasets?other=roboflow2huggingface
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
Close
Hashes for roboflow2huggingface-0.0.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad58ca7f4d9941b5b4ace4d2fd15aaf41f0b85a3c5134fb0226581d38031410 |
|
MD5 | 5b3408beb0726c9868bb1302daadf83d |
|
BLAKE2b-256 | b60955e0346d014a3c1a4a1b602ca5d36267a3f72fcc4c7bdb9e6757d06fcb5e |
Close
Hashes for roboflow2huggingface-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8dd46a4ae90a8bed80aaca8a7d90f7d29d63dbfb9e7223c2f2372e125089b35 |
|
MD5 | ccd8190b74207bf14a03312b939c4cbf |
|
BLAKE2b-256 | 9d41188567452cfeb41d7ce02129983eb42334aa82f91c0415eaa415e8b42317 |