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

Error exporting to CoreML #77

Open
Upliner opened this issue Dec 4, 2023 · 0 comments
Open

Error exporting to CoreML #77

Upliner opened this issue Dec 4, 2023 · 0 comments

Comments

@Upliner
Copy link

Upliner commented Dec 4, 2023

I'm running PYTHONPATH="$PWD" && python models/export.py --weights yolov7-face.pt --img 640 --batch 1
Export to onnx works fine, but export to CoreML fails with error:

CoreML: export failure: Unknown value for constant: ScriptObject <__torch__.torch.classes.xnnpack.Conv2dOpContext>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant