# roboflow2huggingface
Convert Roboflow datasets into HuggingFace datasets format and upload to HuggingFace Hub.
Supports `image-classification`, `object-detection`, and `instance-segmentation` formats.
## installation
```bash
pip install roboflow2huggingface
```
## api usage
```python
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
```bash
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
Raw data
{
"_id": null,
"home_page": "https://github.com/fcakyon/roboflow2huggingface",
"name": "roboflow2huggingface",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "machine-learning,deep-learning,ml,coco,vision,image-classification,object-detection,huggingface,datasets,roboflow",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/08/61/9823b3b2a0e212331447b76bd2481c0f511842466d1d801a3ade525b31a8/roboflow2huggingface-0.0.19.tar.gz",
"platform": null,
"description": "# roboflow2huggingface\n\nConvert Roboflow datasets into HuggingFace datasets format and upload to HuggingFace Hub.\n\nSupports `image-classification`, `object-detection`, and `instance-segmentation` formats.\n\n## installation\n\n```bash\npip install roboflow2huggingface\n```\n\n## api usage\n\n```python\nfrom roboflow2huggingface import roboflow_to_huggingface_pipeline\n\nroboflow_to_huggingface_pipeline(\n roboflow_universe_url='https://universe.roboflow.com/boxer5/123-qq5ea/dataset/6',\n roboflow_api_key=YOUR-ROBOFLOW-API-KEY,\n hf_dataset_id=DESIRED-HF-HUB-ID,\n hf_write_token=YOUR-HF-WRITE-TOKEN,\n)\n\n```\n\n## cli usage\n\n```bash\nroboflow2huggingface --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\n```\n\n## converted datasets\n\nCheck converted datasets on the \ud83e\udd17 hub: https://huggingface.co/datasets?other=roboflow2huggingface\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Convert Roboflow datasets into HuggingFace datasets format and upload to HuggingFace Hub.",
"version": "0.0.19",
"split_keywords": [
"machine-learning",
"deep-learning",
"ml",
"coco",
"vision",
"image-classification",
"object-detection",
"huggingface",
"datasets",
"roboflow"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "90d0f47929625a9f9696909bdcdefb04efedc25cb57faec2bee5dd2d1b8d0a56",
"md5": "1b0bf744191f32812dcc180b1d0eab71",
"sha256": "126a73d72d117a80539fdfc66376f622cf66acd37104555641ba5d124f0fe4dd"
},
"downloads": -1,
"filename": "roboflow2huggingface-0.0.19-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1b0bf744191f32812dcc180b1d0eab71",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 19313,
"upload_time": "2023-01-14T13:33:43",
"upload_time_iso_8601": "2023-01-14T13:33:43.883872Z",
"url": "https://files.pythonhosted.org/packages/90/d0/f47929625a9f9696909bdcdefb04efedc25cb57faec2bee5dd2d1b8d0a56/roboflow2huggingface-0.0.19-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08619823b3b2a0e212331447b76bd2481c0f511842466d1d801a3ade525b31a8",
"md5": "88790bd9524badf4d9c05c50cae70b47",
"sha256": "1972f8c4030c23bf7ba7938537a76324c939226fdb6b86ad9d22306f50d9966e"
},
"downloads": -1,
"filename": "roboflow2huggingface-0.0.19.tar.gz",
"has_sig": false,
"md5_digest": "88790bd9524badf4d9c05c50cae70b47",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 13204,
"upload_time": "2023-01-14T13:33:44",
"upload_time_iso_8601": "2023-01-14T13:33:44.999466Z",
"url": "https://files.pythonhosted.org/packages/08/61/9823b3b2a0e212331447b76bd2481c0f511842466d1d801a3ade525b31a8/roboflow2huggingface-0.0.19.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-14 13:33:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "fcakyon",
"github_project": "roboflow2huggingface",
"lcname": "roboflow2huggingface"
}