coremltools icon indicating copy to clipboard operation
coremltools copied to clipboard

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

Open plumenator opened this issue 11 months ago • 1 comments

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 avatar Feb 06 '25 08:02 plumenator

@plumenator could you please share a reproducible example?

cymbalrush avatar Mar 07 '25 18:03 cymbalrush