Skip to main content

Automatically create Gradio apps from YOLOv5 models and push to the Space.

Project description

yolov5tospace

Automatically create Gradio apps from YOLOv5 models and push to the Spaces

installation

pip install yolov5tospace

api usage

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

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,
)

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

yolov5tospace-0.0.8.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

yolov5tospace-0.0.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file yolov5tospace-0.0.8.tar.gz.

File metadata

  • Download URL: yolov5tospace-0.0.8.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for yolov5tospace-0.0.8.tar.gz
Algorithm Hash digest
SHA256 d35c1ad61c18fa4572737ffaba31c23bc6bb8272d1bcfd345d604506e6c1b2f1
MD5 710d446ef953d409ef7c106bd2a2e1da
BLAKE2b-256 a712988d8dfe6d9ddb5c7a14762cf97ee527fe1542f5a061f69f616ab9731796

See more details on using hashes here.

File details

Details for the file yolov5tospace-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for yolov5tospace-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 204f9e6facbdd19451601c667090b17da5fc34a922927260e14d2b9debc683ce
MD5 9657d70fd619bf57d4bbdc62cf0e2d3c
BLAKE2b-256 9276b505fbd3711cb6f031a69aa36a2ffdae1252cf549abe42ccd445ebeb373a

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