-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Hi, I used your script k2tf_convert.py to convert my trained Keras model to .pb format. Next I wanted to use it to convert to tflite model. When I call tf.lite.TFLiteConverter.from_saved_model(saved_model_dir) on the pb model, it throws an error
RuntimeError: MetaGraphDef associated with tags {'serve'} could not be found in SavedModel. To inspect available tag-sets in the SavedModel, please use the SavedModel CLI: saved_model_cli``
Can you give any pointers as to what I should do to make this work. Initially I wanted to convert my Keras models to lite models for post-training quantization. I run saved_model_cli show --dir <dir> but it shows empty result, no tags.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels