python2.7/dist-packages/keras/engine/topology.py", line 1664, in build_map_of_graphAttributeError: 'NoneType' object has no attribute 'inbound_nodes'
错误似乎发生在定义网络的输入和输出时。
softmax", name="fc_out")(p)
但是我得到了一个错误:'NoneType‘对象没有属性'_inbound_nodesoutputs=p) 39 return model
AttributeError: 'NoneType' object has no attribute '_inbound_nodes