因为转的是 graphdef 格式,需要其他命令。
可以在如下网址看下:
https://tensorflow.google.cn/lite/convert/cmdline_examples?hl=zh-cn#convert_a_tensorflow_graphdef_
https://tensorflow.google.cn/lite/convert/cmdline_examples?hl=zh-cn#convert_a_tensorflow_graphdef_for_quantized_inference_
或者,找到 saved_model 模型
1 Like