CasiaFan / tensorflow_retinanet

RetinaNet with Focal Loss implemented by Tensorflow
121 stars 45 forks source link

Tflite #19

Open titanbender opened 4 years ago

titanbender commented 4 years ago

Is it possible to convert the model into TF lite?

I'm getting the following issue when using the retrieved saved model files:

converter = tf.lite.TFLiteConverter.from_saved_model() tflite_model = converter.convert()

leads to this error: ValueError: This converter can only convert a single ConcreteFunction. Converting multiple functions is under development.

CasiaFan commented 4 years ago

If you are using tensorflow object detection api, just use this official tflite export script. @titanbender