【发布时间】:2018-05-13 01:11:58
【问题描述】:
我尝试通过 pylint 运行在 GitHub 上共享的代码与我的 VScode。
但我收到此错误消息:
E1101:Module 'tensorflow.tools.api.generator.api.contrib' has no 'layers' member
这里有什么问题?我该如何解决?
这里是代码:
https://github.com/cj0012/AI-Practice-Tensorflow-Notes/blob/master/opt/opt4_8_forward.py
【问题讨论】:
-
你有什么问题?
-
pylint 有时是错误的。做一个测试,看看层是否存在并工作。
标签: python tensorflow machine-learning visual-studio-code pylint