Post

Replies

Boosts

Views

Activity

Reply to TensorFlow V2 to CoreML conversion fails
Running into a similar issue with converting a frozen graph file. The unified coremltools API says it supports .pb format but still getting this error. NotImplementedError: Expected model format: [SavedModel | [concrete_function] | tf.keras.Model | .h5] Same as OP, i've tried all other approaches but they meet a dead end at some point or other. Any inputs from anyone else?
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Apr ’25
Reply to TensorFlow V2 to CoreML conversion fails
Running into a similar issue with converting a frozen graph file. The unified coremltools API says it supports .pb format but still getting this error. NotImplementedError: Expected model format: [SavedModel | [concrete_function] | tf.keras.Model | .h5] Same as OP, i've tried all other approaches but they meet a dead end at some point or other. Any inputs from anyone else?
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to CoreML Converter Missing Tensorflow Package
Plus import tensorflow in the script. import tensorflow as tf
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to CoreML Converter Missing Tensorflow Package
This your environment does not have tensorflow installed while your script uses it. Install tensorflow package and run it again.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’25