Does readNetFromTensorflow support ".tflite" format?

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

lakex24 gravatar image

updated 2019-02-23 02:23:12 -0600

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

Comments

Have you solved the problem? I am also wondering if it is possible.

lackofknowladgge gravatar imagelackofknowladgge ( 2019-12-19 10:42:42 -0600 )edit