PS. Please dont point me to converting Keras model directly to tflite as my .h5 file would fail to convert to .tflite directly. I somehow managed to convert my .h5 file to .pb
I have followed this Jupyter notebook for face recognition using Keras. I then saved my model to a model.h5
file, then converted it to a frozen graph, model.pb
using this.
Now I want to use my tensorflow file in Android. For this I will need to have Tensorflow Lite, which requires me to convert my model into a .tflite
format.
For this, I'm trying to follow the official guidelines for it here. As you can see there, it requires input_array
and output_array
arrays. How do I obtain details of these things from my model.pb
file?