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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9eb40653f333a8666bb23db22f5ddc40aa18f7871507cd73902662ffdacf4e9 |
|
MD5 | b16caedfb68acae3b428c7de7cc2de1c |
|
BLAKE2b-256 | 71382cd10f9dc4c0f6f852f5708ebebc63c454927c5b0dfdac105123e09f5864 |
Close
Hashes for roboflow2huggingface-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45c7d9920123e7128508bde178b5fb64007049e3a3169ede6fa89359633f3278 |
|
MD5 | 0fc85864e3e9903936f4371b7711a7c4 |
|
BLAKE2b-256 | 8b0d7ab42200f019230903b1946d91b4c5f64b6eaf4782c42309aa159f3d0e55 |