码迷,mamicode.com
首页 > 其他好文 > 详细

Pylint E1101 Module 'torch' has no 'from_numpy'

时间:2019-11-07 15:09:26      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:title   tle   member   text   UNC   tin   --   use   truncate   

[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'

标签:title   tle   member   text   UNC   tin   --   use   truncate   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!