【发布时间】:2020-03-03 18:06:19
【问题描述】:
我训练了一个模型来将素描图片转换为彩色图片。 enter image description here 中间是基本事实,左边是原创,右边是预测。此结果由 model.h5 运行,但当我使用 model.tflite 运行程序时出现错误结果。
这是我的转换代码
tflite_convert --keras_model_file=G:/pix2pix/generator.h5 --output_file=G:/pix2pix/convert.tflite
这是 model.tflite 运行的结果
[[[[nan nan nan] ...
【问题讨论】:
标签: python tensorflow tensorflow-lite