Pylint E1101 Module 'torch' has no 'from_numpy'

[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

posted @ 2019-11-07 14:27  andy_0212  阅读(938)  评论(1编辑  收藏  举报