Issues when converting tensorflow/keras model to tensorflow lite model

倾然丶 夕夏残阳落幕 提交于 2019-12-02 04:10:12

This looks like https://github.com/tensorflow/tensorflow/issues/22617 where the _tensorflow_wrap_toco library is missing in Windows version. I would suggest you to try installing the latest Tensorflow version.

The TfliteConverter and TocoConverter seem to be very problematic on all OS except Mac. You can still convert the model to TensorFlow Lite using the following steps:

Create a new Google Colab notebook

Write the code to convert the model. Import TFLiteConverter and other stuff.

Upload the model in the notebook.

Run the notebook.

Download the generated TFLite file.

You can use this notebook.

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