Converting saved_model.pb to model.tflite
问题 Tensorflow Version: 2.2.0 OS: Windows 10 I am trying to convert a saved_model.pb to a tflite file. Here is the code I am running: import tensorflow as tf # Convert converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir='C:\Data\TFOD\models\ssd_mobilenet_v2_quantized') tflite_model = converter.convert() fo = open("model.tflite", "wb") fo.write(tflite_model) fo.close This code gives an error while converting: File "C:\Users\Mr.Ace\AppData\Roaming\Python\Python38\site-packages