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.20.tar.gz (90.2 kB view details)

Uploaded Source

Built Distribution

roboflow2huggingface-0.0.20-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for roboflow2huggingface-0.0.20.tar.gz
Algorithm Hash digest
SHA256 e9eb40653f333a8666bb23db22f5ddc40aa18f7871507cd73902662ffdacf4e9
MD5 b16caedfb68acae3b428c7de7cc2de1c
BLAKE2b-256 71382cd10f9dc4c0f6f852f5708ebebc63c454927c5b0dfdac105123e09f5864

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for roboflow2huggingface-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 45c7d9920123e7128508bde178b5fb64007049e3a3169ede6fa89359633f3278
MD5 0fc85864e3e9903936f4371b7711a7c4
BLAKE2b-256 8b0d7ab42200f019230903b1946d91b4c5f64b6eaf4782c42309aa159f3d0e55

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