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推理报错 #2987

Open
tunmx opened this issue Aug 8, 2024 · 3 comments
Open

使用CoreML推理报错 #2987

tunmx opened this issue Aug 8, 2024 · 3 comments
Labels
question Further information is requested

Comments

@tunmx
Copy link

tunmx commented Aug 8, 2024

使用CoreML后端进行推理会出现以下问题:

2024-08-08 17:25:37.001 test[34133:3542452] Error compiling model compiler error: Error reading protobuf spec. 

validator error: Layer '640' of type 'Scale' has output rank 2 but expects rank at least 3.

MNN版本号:2.8.1
测试机型:Mac mini m2

@jxt1234 jxt1234 added the question Further information is requested label Aug 8, 2024
@jxt1234
Copy link
Collaborator

jxt1234 commented Aug 8, 2024

相关模型发上来看一下?

@tunmx
Copy link
Author

tunmx commented Aug 8, 2024

Uploading m7d.onnx.zip…
onnx已上传,谢谢!

@jxt1234
Copy link
Collaborator

jxt1234 commented Aug 26, 2024

链接貌似无效,可能是未上传成功? 有简单的代码导出 onnx 复现么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants