coremltools
coremltools copied to clipboard
Failed to load model converted from tensorflow in iOS/Swift, but works in Python
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 could you please share a reproducible example?