Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roboflow2huggingface-0.0.19.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

roboflow2huggingface-0.0.19-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file roboflow2huggingface-0.0.19.tar.gz.

File metadata

  • Download URL: roboflow2huggingface-0.0.19.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for roboflow2huggingface-0.0.19.tar.gz
Algorithm Hash digest
SHA256 1972f8c4030c23bf7ba7938537a76324c939226fdb6b86ad9d22306f50d9966e
MD5 88790bd9524badf4d9c05c50cae70b47
BLAKE2b-256 08619823b3b2a0e212331447b76bd2481c0f511842466d1d801a3ade525b31a8

See more details on using hashes here.

File details

Details for the file roboflow2huggingface-0.0.19-py3-none-any.whl.

File metadata

File hashes

Hashes for roboflow2huggingface-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 126a73d72d117a80539fdfc66376f622cf66acd37104555641ba5d124f0fe4dd
MD5 1b0bf744191f32812dcc180b1d0eab71
BLAKE2b-256 90d0f47929625a9f9696909bdcdefb04efedc25cb57faec2bee5dd2d1b8d0a56

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page