While experimenting with tensorflow
i\'ve come accross an issue when converting keras model
into tensorflow lite
.
This is my setup
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.
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.