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

Failed to load model converted from tensorflow in iOS/Swift, but works in Python #2441

Open
plumenator opened this issue Feb 6, 2025 · 0 comments
Labels
question Response providing clarification needed. Will not be assigned to a release. (type)

Comments

@plumenator
Copy link

When I load my model in python, I don't get any error. Even Xcode is able to detect the model metadata. However, when I load the model with CoreML, I get this error:

StatefulPartitionedCall_StatefulPartitionedCall_StatefulPartitionedCall_freq_analyser_StatefulPartitionedCall_multi_conv_1_conv2d_multiconv_same_1_Conv2D_1_cast_fp16_to_fp32 is neither a function input nor is produced by any OperationBuilder in this block..

I tried converting the model using tf v2.12 and tf v2.18, with the same results

@plumenator plumenator added the question Response providing clarification needed. Will not be assigned to a release. (type) label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Response providing clarification needed. Will not be assigned to a release. (type)
Projects
None yet
Development

No branches or pull requests

1 participant