Skip to main content

YOLOv5 model conversion CLI

Project description

上传步骤

在你的项目根目录(pyproject.toml 所在目录)执行:

python -m build
  • 这个命令会生成一个 dist/ 文件夹。
  • 文件通常是:
    • yolo_convert-0.1.0-py3-none-any.whl
    • yolo_convert-0.1.0.tar.gz

再上传包:

twine upload dist/*

本地开发

pip uninstall yolo-convert      # 卸载 PyPI 版本,避免冲突
pip install -e .                # 安装本地 editable 版本
yolo_convert -i yolov5s.pt

安装测试

pip install yolo-convert

导出Yolov5模型,一个输出(默认640x640分辨率)
yolo_convert -i yolov5.pt

导出Yolov5模型,一个输出
yolo_convert -i yolov5.pt --img 1024 1280

导出Yolov5模型,三个输出
yolo_convert -i yolov5.pt --hisi3559 --img 1024 1280

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

yolo_convert-0.1.1.tar.gz (223.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yolo_convert-0.1.1-py3-none-any.whl (256.6 kB view details)

Uploaded Python 3

File details

Details for the file yolo_convert-0.1.1.tar.gz.

File metadata

  • Download URL: yolo_convert-0.1.1.tar.gz
  • Upload date:
  • Size: 223.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for yolo_convert-0.1.1.tar.gz
Algorithm Hash digest
SHA256 96ddd35d63e1cfa8240383bedfadaad6d8b7372f7b97e5aebd14dc5e788069a0
MD5 a402ceefae0aff058573da56b753d8ad
BLAKE2b-256 2b45a17d645d604881e9b780fb9cfb9deaf41304971f35aefddc46d47c9eefe7

See more details on using hashes here.

File details

Details for the file yolo_convert-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: yolo_convert-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 256.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for yolo_convert-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d4f8252e78adc5aec9c8f77dbfc02cc3b9d0c5cd44c1cbf60df7ce414bfcb95
MD5 b8a542867e9142f0caca31184857bc56
BLAKE2b-256 365fb60ccaee17837ef19bcd61ab0d531f1779236334fbcafac9daa0eb3566dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page