Error when I convert the frozen_pb file to tflite file using toco

北慕城南 提交于 2019-12-04 21:04:40

The simple answer is the TFLite doesn't support all TF operations yet. They're being worked on, but that's why you see all the 'unsupported operation' errors.

If you really want your model to work on mobile while awaiting them to be supported on TFLite, check out TensorFlow Mobile, which is a different platform: https://www.tensorflow.org/mobile/

The conversion fails because of the unsupported operations. TensorFlow Lite supports only a subset of the operations which can be seen: https://www.tensorflow.org/lite/guide/ops_compatibility

Anyway, you can write a custom operation to make it work: https://www.tensorflow.org/lite/guide/ops_custom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!