Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coreml model is not unzipping if I download it from hub export #957

Open
1 task done
CharanPrasadK opened this issue Dec 23, 2024 · 4 comments
Open
1 task done
Labels
bug Something isn't working exports Model exports (ONNX, TensorRT, TFLite, etc.) HUB Ultralytics HUB issues

Comments

@CharanPrasadK
Copy link

Search before asking

  • I have searched the HUB issues and found no similar bug report.

HUB Component

Export

Bug

I tried to download yolo11n exported model into coreml it is downloaded as yolo11n.mlpackage.zip but its no unzipping in any os.

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

@CharanPrasadK CharanPrasadK added the bug Something isn't working label Dec 23, 2024
@UltralyticsAssistant UltralyticsAssistant added exports Model exports (ONNX, TensorRT, TFLite, etc.) HUB Ultralytics HUB issues labels Dec 23, 2024
@UltralyticsAssistant
Copy link
Member

👋 Hello @CharanPrasadK, thank you for raising an issue about Ultralytics HUB 🚀! Please ensure you are following the correct steps for working with exported CoreML models. It seems like you are encountering an issue with unzipping the .mlpackage.zip file.

If this is a 🐛 Bug Report, could you provide additional details to help us reproduce the problem? Specifically, we need:

  • Screenshots or error messages you encounter during the unzipping process.
  • A minimum reproducible example (MRE), including the steps you followed to download and try unzipping the CoreML model.
  • Information about the environment you are working in, such as the operating system and any tools you are using to unzip the file.

If this is a ❓ Question, please provide more details regarding the workflow you followed, the type of model exported, and any other relevant context so we can assist better.

This is an automated response to help streamline the troubleshooting process. An Ultralytics engineer will review your issue and assist you further as soon as possible. Thank you for your patience! 😊

@john-rocky
Copy link

@CharanPrasadK
Thank you for contacting us.
Please tell us more about the situation where you cannot unzip mlpackage.zip.
Do you mean that you cannot unzip the zip in the first place?
In that case, we can investigate the issue more quickly if you could tell us how you unzipped it (for example, by double-clicking it in macOS Finder) and provide a screenshot of the result.
Or does it mean that the unzipped mlpackage is corrupted in some way?
I would appreciate it if you could let me know.

@CharanPrasadK
Copy link
Author

Thank You for reply.
Yes, I downloaded coreml model from ultralytics hub it is downloaded as yolo11n.mlpackage.zip , so when im trying to unzip or double click, its not open and showing cannot unzip ..... of that sort.

@glenn-jocher
Copy link
Member

@CharanPrasadK I just tested now by training a new model in HUB and exporting to CoreML. The download will be a *.zip file that contains your CoreML model. Unzip the zip file to get your CoreML model:

Screenshot 2024-12-27 at 13 24 54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exports Model exports (ONNX, TensorRT, TFLite, etc.) HUB Ultralytics HUB issues
Projects
None yet
Development

No branches or pull requests

4 participants