ultralytics / hub

Ultralytics HUB tutorials and support
https://hub.ultralytics.com
GNU Affero General Public License v3.0
136 stars 13 forks source link

`ultralytics_tflite` format exporting not work as expected #840

Open dingniaoji opened 1 month ago

dingniaoji commented 1 month ago

Search before asking

HUB Component

No response

Bug

ScreenShot 2024-09-18 161034

I have tried several times in past week, the android export does not work as expected.

It keeps exporting for hours, and never get done.

When I use chrome developer tool to inspect the network. the request POST payload is {"format":"ultralytics_tflite"} and the response is {"data":{},"message":"Exporting model.","success":true}.

this is my model id: e16HsBOqENqN23dipigh.

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

UltralyticsAssistant commented 1 month ago

👋 Hello @dingniaoji, thank you for raising an issue about the Ultralytics HUB 🚀! This is an automated response, but an Ultralytics engineer will assist you soon.

In the meantime, please check out our HUB Docs for more information:

Could you provide a minimum reproducible example (MRE) with more details on the issue, such as the specific steps you followed? This will help us diagnose the problem more effectively. You can refer to our guide on creating a Minimum Reproducible Example.

If you have any screenshots or logs to share, that would also be very helpful in solving the issue 🐛.

Thank you for your patience while we work on resolving this! 😊

pderrenger commented 4 hours ago

Hi there! 😊

Thank you for bringing this issue to our attention. It seems like you're experiencing difficulties with exporting your model in the ultralytics_tflite format. Let's try to resolve this together.

First, please ensure that you are using the latest version of the Ultralytics HUB and related packages, as updates often contain important bug fixes and improvements.

If the issue persists, here are a few steps you can try:

  1. Check for Network Issues: Sometimes, network interruptions can cause prolonged exporting times. Ensure your internet connection is stable.

  2. Try a Different Browser: Occasionally, browser-specific issues can affect operations. Testing the export process in a different browser might help.

  3. Inspect Logs: If possible, check the logs for any error messages that might provide more insight into what's happening during the export process.

  4. Alternative Export Formats: As a temporary workaround, you might want to try exporting your model to another format like ONNX or CoreML to see if the issue is specific to the ultralytics_tflite format.

If none of these steps resolve the issue, please let us know, and we can investigate further. Your feedback is invaluable, and we appreciate your patience as we work to improve our tools. 🚀

Feel free to reach out if you have any more questions or need further assistance!