Issues when converting tensorflow/keras model to tensorflow lite model

前端 未结 2 1226
感动是毒
感动是毒 2021-01-24 01:48

While experimenting with tensorflow i\'ve come accross an issue when converting keras model into tensorflow lite.

This is my setup

相关标签:
2条回答
  • 2021-01-24 02:40

    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.

    0 讨论(0)
  • 2021-01-24 02:52

    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.

    0 讨论(0)
提交回复
热议问题