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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1972f8c4030c23bf7ba7938537a76324c939226fdb6b86ad9d22306f50d9966e |
|
MD5 | 88790bd9524badf4d9c05c50cae70b47 |
|
BLAKE2b-256 | 08619823b3b2a0e212331447b76bd2481c0f511842466d1d801a3ade525b31a8 |
Close
Hashes for roboflow2huggingface-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 126a73d72d117a80539fdfc66376f622cf66acd37104555641ba5d124f0fe4dd |
|
MD5 | 1b0bf744191f32812dcc180b1d0eab71 |
|
BLAKE2b-256 | 90d0f47929625a9f9696909bdcdefb04efedc25cb57faec2bee5dd2d1b8d0a56 |