首页 > 其他 > 详细

Pylint E1101 Module 'torch' has no 'from_numpy'

时间:2019-11-07 15:10:41      阅读:366      评论:0      收藏:0      [点我收藏+]

[Minor Bug] Pylint E1101 Module ‘torch‘ has no ‘from_numpy‘ member#701

 

For those using vscode, add to user settings

"python.linting.pylintArgs": [
"--errors-only",
"--generated-members=numpy.* ,torch.* ,cv2.* , cv.*"
]

errors-only is not realted to the issue but is useful to supres pep 8/formatting "errors" if you want to

Pylint E1101 Module 'torch' has no 'from_numpy'

原文:https://www.cnblogs.com/andy-0212/p/11811852.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!