-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot recognize some member in pytorch #2067
Comments
This is probably a bug that would need an astroid brain tip to understand what pytorch is doing here. |
Quick fix: it works if you set |
Thanks, I use @agajews 's solution, it works for me. |
@agajews thanks for tips, this help mitigate most errors while still output
am I missing something? update: |
@zchrissirhcz Has this been fixed? |
Steps to reproduce
sudo pip install torch torchvision
. I have a GPU and CUDA and CuDNN installed. I'm not sure if they are necessary.~/.pylintrc
:Current behavior
pylint complains E1101 that Instance of 'Variable' has no 'cuda' member. Which, actually, my code can run correctly.
Expected behavior
pylint, please don't complain
pylint --version output
Using config file /home/chris/.pylintrc
pylint 1.8.4,
astroid 1.6.3
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609]
The text was updated successfully, but these errors were encountered: