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
相关文章
相关标签/搜索