【发布时间】:2021-04-12 21:43:15
【问题描述】:
在 Android Studio 上,我无法查看模型元数据,即使我已经在 Python 中手动添加了元数据。我得到了错误:
不支持此模型:输入张量 0 没有名称。
我的修复尝试:
我将层名称添加到 tensorflow 输入层,使用:
img_input = Input(shape=input_shape, batch_size=1, name="input_image")
我什至在 Netron 中检查过,输入层显示为 input_image,正如预期的那样:
【问题讨论】:
标签: android-studio tensorflow-lite