Does readNetFromTensorflow support ".tflite" format?

asked 2019-02-22 17:11:33 -0500

lakex24 gravatar image

updated 2019-02-23 02:23:12 -0500

berak gravatar image

Currently opencv dnn::readNetFromTensorflow only supports ".pb" file format, The downsize is that model file size is usually very large thus not very mobile friendly.

TensorFlow now provides tools to convert ".pb" to ".tflite", which makes model files more usable on mobile platforms. https://www.tensorflow.org/lite/conve...

However, I can't find a way to load ".tflite" model files using opencv, it returns an empty Net when I do so. did I miss anything? or is there a plan for opencv to support ".tflite" file format?

edit retag flag offensive close merge delete