-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
OSError: exception: access violation writing #1475
Comments
are you on the latest version ? |
BTW, can you provide a re-produce code with randomly generated data ? |
@guolinke I think I am, just cloned LightGBM half an hour ago. |
I tried with this example. The problem still exists. |
can you try to uninstall and re-install ? you can install version 2.1.2 from pypi directly. |
@guolinke I will try to reinstall. BTW, here is what I got. |
BTW, we have the tests for these examples in Windows: https://github.com/Microsoft/LightGBM/blob/master/.appveyor.yml#L51-L58 |
@guolinke Thanks for the advice. I installed the cpu version via |
ping @huanzhang12 @StrikerRUS |
The problem is solved by update relevant packages by |
Windows 10 + Python 3.6.3 x64 + CUDA 8.0
Have successfully installed LightGBM and can run the binary_classification example from command prompt.
If set the classifier as XGBClassifier, everything is okay. When change to LGBMClassifier, the following exceptions is thrown.
Any idea?
======================== UPDATE ==========================
Now I can run this example with CPU version and GPU version with lightgbm.exe, but the GPU version with python throws this exception.
The text was updated successfully, but these errors were encountered: