module 'tensorflow.python.ops.nn' has no attribute 'leaky_relu'和module 'matplotlib' has no attribute

一、AttributeError: module ‘tensorflow.python.ops.nn’ has no attribute ‘leaky_relu’ 的緣由主要是版本的問題 個人解決方法是更新到對應的版本:keras 2.1.5 tensorflow-gpu 1.2.1html 更新的操做以下(使用國內鏡像):python pip install keras==2.1.2 -i ht
相關文章
相關標籤/搜索