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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file roboflow2huggingface-0.0.22.tar.gz.
File metadata
- Download URL: roboflow2huggingface-0.0.22.tar.gz
- Upload date:
- Size: 90.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a208a57d87f7f636ca01f064487857f3d1a8b068cd04d5825ac30934508e9b9
|
|
| MD5 |
fcba91b150eb709b2c80fcc52740261a
|
|
| BLAKE2b-256 |
6da6efc4855e11c75b02b3be10b102ba4f484c171ff39731dacb8e9246bc0e72
|
File details
Details for the file roboflow2huggingface-0.0.22-py3-none-any.whl.
File metadata
- Download URL: roboflow2huggingface-0.0.22-py3-none-any.whl
- Upload date:
- Size: 95.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55dceaf6f06d210b2ddc5e167e220425a83296ce562d354bc9ee7488953d998
|
|
| MD5 |
e10562f7b235a1088382b4107226e94e
|
|
| BLAKE2b-256 |
1bd25e7da5ed126b54b2c1b3020002848949c438e598fd9f9fc24875d33d8079
|