AttributeError: module ‘tensorflow.python.ops.nn’ has no attribute ‘leaky_relu’
AttributeError: module ‘tensorflow.python.ops.nn’ has no attribute ‘leaky_relu’ 的原因主要是版本的問題 解決方法是更新到對應的版本: keras 2.1.5 tensorflow-gpu 1.2.1 更新 ...