我得到了以下错误:运行此https://pastebin.com/X7146Ury时的脚本。
AttributeError: 'InputLayer' object has no attribute 'inbound_nodes'发布于 2018-01-28 12:33:42
在最新版本的Keras中,这被重命名为_inbound_nodes (注意添加的下划线)。您正在使用的coremltools版本似乎与该Keras版本不兼容。
但是,GitHub上的最新版本似乎使用了新的_inbound_nodes名称。我建议你安装它,使用:
pip install -U git+https://github.com/apple/coremltools.githttps://stackoverflow.com/questions/48485937
复制相似问题