How to convert keras(h5) file to a tflite file?

前端 未结 7 814
不思量自难忘°
不思量自难忘° 2021-01-31 19:25

I got an keras(h5) file. I need to convert it to tflite?? I researched, First i need to go via h5 -> pb -> tflite (because h5 - tflite sometimes results in some issue)

7条回答
  •  时光说笑
    2021-01-31 19:57

    There is one factor, which you must to consider. You need to change the learning phase, before converting. It's super important, when you have Dropout or Batch Normalization. You can take a look at 'Keras model to tflite' or 'Problem after converting keras model into Tensorflow pb' discussions

提交回复
热议问题