-
Notifications
You must be signed in to change notification settings - Fork 344
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
Can't run lightgbm with config file #26
Comments
Hey @JohnM5 If you run in linux, you may need to
the lightgbm files, please read this : https://github.com/kaz-Anova/StackNet#install-lightgbm
Let me know if this solves the issue. Same applies to |
Thank you for your answer but I'm running it in Mac Osx, does it still apply to me? |
I think yes. |
Thank you, the previous problems are solved but now I have another exception at the 4th tree:
This seems to be the same issue as here #11 , but I checked and the test file is specified in my command. Here is my command:
|
This is the xgboost model. You need to repeat the changing of permissions for both xgboost and fast_rgf as explained above. You need to if it still fails. open the dataset2_params.txt and change the model in row 5 from |
Yes I repeated the changing of permissions for all models.
Did you see this ever before? Thank you |
Yes I have. I am afraid you need to install xgboost manually (as it will take care of the gcc stuff) and drop the executables there. Alternatively , you can remove the xgboost models. You may find this helpful for installing xgboost in mac. |
Ok thank you I'll try this ! The weird thing is that xgboost works perfectly when I use an Ipython notebook... |
if you find your executables (search by name) and you drop them there it should work. |
Sorry for the late reply, first I could copy and paste one file in an other folder but after I had to paste one file in a /usr/lib folder in which you cant paste file unless you reboot your mac I'm new to mac os x and Im afraid that I will lose my files., so I'm not sure if I'll do it. Does xgboost add a lot of accuracy? Apparently you can edit some folders in mac os x since version 10.11 I would be open to any suggestion :) So in the end I disabled xgboost and the whole thing took about 1H40 mins. Thank you for your help! |
I am also not a mac expert and actually a friend of mine compiles the mac files for me ... Hopefully even without xgboost it stills scores OK. |
Hi @JohnM5 , I had the same error. I realized that my gcc version is 7 and I only had /usr/local/opt/gcc/lib/gcc/7/libgomp.1.dylib. So I created a directory "6" under /usr/local/opt/gcc/lib/gcc/ , and copied everything under "7" to "6". No permission issue happened. Now things are working fine. |
Hi @Firenze11 , thank you for your answer, I did this in the beginning but then I was given this error:
I know where libstdc++.6.dylib is, I can copy it but I can't paste it to /usr/lib |
Hi @JohnM5, why can't you copy the file to /usr/lib ? |
Hi @goldentom42 , I tried sudo but you cant since a recent os x update, now some folders are protected, https://apple.stackexchange.com/questions/208478/how-do-i-disable-system-integrity-protection-sip-aka-rootless-on-os-x-10-11 If I want to disable this feature, I need to reboot my laptop and since I'm new to os x i'm not sure If this will erase all of my data. |
@JohnM5 $ cd /usr/local/opt/gcc/lib/gcc; ln -s 7/ 6 |
Hello,
Thank you for providing an example with the zillow competition. I tried running the example but came with exactly the same problem as here: #16
I can't run lgbm and I have exactly the same output error:
I tried to run lightgbm by itself by running it with the config file:
./lightgbm config=~ ./models/ucsbmggugdanr6qc19a64a7sv10.conf task=train
But I receive a 'Permission denied' error. I tried running the same command with sudo but I get
I checked and the jar file is in the same folder as the lib folder. Here is a screenshot of how my Stacknet folder is organized:
Thank you for your help.
The text was updated successfully, but these errors were encountered: