vscode ‘torch’ has no ‘xxx’ member
vscode User settings中加上
"python.linting.pylintArgs": [
"–errors-only",
"–generated-members=numpy.* ,torch.* ,cv2.* , cv.*",
]
vscode User settings中加上
"python.linting.pylintArgs": [
"–errors-only",
"–generated-members=numpy.* ,torch.* ,cv2.* , cv.*",
]
Last updated: 原文链接:http://hanrd.vercel.app/posts/20200904a/