我有以下错误:https://pastebin.com/X7146Ury运行时script .
AttributeError: 'InputLayer' object has no attribute 'inbound_nodes'
我有以下错误:https://pastebin.com/X7146Ury运行时script .
AttributeError: 'InputLayer' object has no attribute 'inbound_nodes'
1 回答
在最新版本的Keras中,这被重命名为
_inbound_nodes
(注意添加的下划线) . 您正在使用的coremltools版本似乎与Keras版本不兼容 .但是,GitHub上的最新版本似乎确实使用了新的
_inbound_nodes
名称 . 我建议你安装它,使用: