我使用的是tensorflow 1.13.1,在
from tensorflow.contrib.lite.python import tflite_convert
时出现如下问题:
ImportError: cannot import name 'tflite_convert' from 'tensorflow.contrib.lite.python'
解决办法:
去掉中间的contrib
from tensorflow.lite.python import tflite_convert