# yolov5tospace
Automatically create Gradio apps from YOLOv5 models and push to the Spaces
## installation
```bash
pip install yolov5tospace
```
## api usage
```python
from yolov5tospace import yolov5_to_space_pipeline
yolov5_to_space_pipeline(
base_name="Visdrone",
model_types=["yolov5n"],
hfhub_username=YOUR-HFHUB-USERNAME,
task="object-detection",
test_images_folder=None,
)
```
or
```python
from yolov5tospace import yolov5_to_space_pipeline
yolov5_to_space_pipeline(
base_name="Visdrone",
hfhub_model_ids=[YOUR-HFHUB-MODELID-1, YOUR-HFHUB-MODELID-2],
hfhub_username=YOUR-HFHUB-USERNAME,
task="object-detection",
test_images_folder=None,
)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "yolov5tospace",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "machine-learning,deep-learning,ml,vision,yolov5,object-detection,huggingface,datasets,spaces,gradio",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a7/12/988d8dfe6d9ddb5c7a14762cf97ee527fe1542f5a061f69f616ab9731796/yolov5tospace-0.0.8.tar.gz",
"platform": null,
"description": "# yolov5tospace\nAutomatically create Gradio apps from YOLOv5 models and push to the Spaces\n\n## installation\n\n```bash\npip install yolov5tospace\n```\n\n## api usage\n\n```python\nfrom yolov5tospace import yolov5_to_space_pipeline\n\nyolov5_to_space_pipeline(\n base_name=\"Visdrone\",\n model_types=[\"yolov5n\"],\n hfhub_username=YOUR-HFHUB-USERNAME,\n task=\"object-detection\",\n test_images_folder=None,\n)\n\n```\n\nor\n\n```python\nfrom yolov5tospace import yolov5_to_space_pipeline\n\nyolov5_to_space_pipeline(\n base_name=\"Visdrone\",\n hfhub_model_ids=[YOUR-HFHUB-MODELID-1, YOUR-HFHUB-MODELID-2],\n hfhub_username=YOUR-HFHUB-USERNAME,\n task=\"object-detection\",\n test_images_folder=None,\n)\n\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Automatically create Gradio apps from YOLOv5 models and push to the Space.",
"version": "0.0.8",
"split_keywords": [
"machine-learning",
"deep-learning",
"ml",
"vision",
"yolov5",
"object-detection",
"huggingface",
"datasets",
"spaces",
"gradio"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9657d70fd619bf57d4bbdc62cf0e2d3c",
"sha256": "204f9e6facbdd19451601c667090b17da5fc34a922927260e14d2b9debc683ce"
},
"downloads": -1,
"filename": "yolov5tospace-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9657d70fd619bf57d4bbdc62cf0e2d3c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6231,
"upload_time": "2022-12-30T09:36:30",
"upload_time_iso_8601": "2022-12-30T09:36:30.350901Z",
"url": "https://files.pythonhosted.org/packages/92/76/b505fbd3711cb6f031a69aa36a2ffdae1252cf549abe42ccd445ebeb373a/yolov5tospace-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "710d446ef953d409ef7c106bd2a2e1da",
"sha256": "d35c1ad61c18fa4572737ffaba31c23bc6bb8272d1bcfd345d604506e6c1b2f1"
},
"downloads": -1,
"filename": "yolov5tospace-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "710d446ef953d409ef7c106bd2a2e1da",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5178,
"upload_time": "2022-12-30T09:36:31",
"upload_time_iso_8601": "2022-12-30T09:36:31.588956Z",
"url": "https://files.pythonhosted.org/packages/a7/12/988d8dfe6d9ddb5c7a14762cf97ee527fe1542f5a061f69f616ab9731796/yolov5tospace-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-30 09:36:31",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "yolov5tospace"
}