Yolov3: How to change to ONNX(.onnx) using torch.onnx.export function

Created on 26 Nov 2020  路  3Comments  路  Source: ultralytics/yolov3

鉂擰uestion

Hello
Thank you for sharing a great project.
Does this project provide models/export.py, a tool to convert to onnx like yolov5 project?

If available, where can I check it?

There is currently a last.pt file learned in the https://github.com/sid0312/anpr_yolov5/ project, but it is difficult to convert this model to onnx.
It is difficult to get help from the author because the project is not being managed.

I came here after searching for a number of sources for reference.
In order to convert pretrained model to onnx, we know that torch.onnx.export function is used as written in https://pytorch.org/docs/stable/onnx.html.

Separately, can you introduce me the simplest project that can easily learn to convert python torch model to onnx?

Thank you.

Additional context

Stale question

Most helpful comment

All 3 comments

Hello @leeyunhome, thank you for your interest in our work! Ultralytics has open-sourced YOLOv5 at https://github.com/ultralytics/yolov5, featuring faster, lighter and more accurate object detection. YOLOv5 is recommended for all new projects.






To continue with this repo, please visit our Custom Training Tutorial to get started, and see our Google Colab Notebook, Docker Image, and GCP Quickstart Guide for example environments.

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:

  • Cloud-based AI systems operating on hundreds of HD video streams in realtime.
  • Edge AI integrated into custom iOS and Android apps for realtime 30 FPS video inference.
  • Custom data training, hyperparameter evolution, and model exportation to any destination.

For more information please visit https://www.ultralytics.com.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aria20155 picture Aria20155  路  3Comments

JungminChung picture JungminChung  路  3Comments

NgTuong picture NgTuong  路  4Comments

Sibozhu picture Sibozhu  路  4Comments

Blddwkb picture Blddwkb  路  4Comments