Issues when converting tensorflow/keras model to tensorflow lite model

前端 未结 2 1258
感动是毒
感动是毒 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.

提交回复
热议问题