-
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
[python-package] using lgb.Booster(model_file='model.txt') hangs when loading gbdt regression model #6513
Comments
It hungs at
|
Thanks for using LightGBM. If it hands on Can you please share any logs produced by |
ok, thanks for your help. In fact, i had a model file and i just wanted to load it at beginning. It hanged at "lgb.Booster(model_file=model_path)" when loading, after that i tried the mini-case and it hanged at "lgb.train()". By the way, what's the default log path by |
By default, |
it hangs at after print(1), at code
|
ok, I find the problem. It's because of my numpy, scipy, pandas version is not compatible to the model file. should make sure that these compute libs are compatible to the model files. |
maybe it's better for the team to maintain the conda installation with higher versions. |
Can you please provide specific details about this? I don't understand this statement. You may want to see "How to create a reproducible example" (link) for some advice on reporting software problems in a way that others can help confirm and investigate them. |
I setup a dev environment at ubuntu 20, gcc v9, python 3.9. and install the lightgbm==4.1.0.
when I try to load my model, it hangs from the beginning, can not be interupted and no error being throwed.
I also tried a mini-case as follows, it can not work either. I want to know that is there anything else to do upon training and using a gbdt regression model? How can i debug this problem? Is it related to gcc stuff?
The text was updated successfully, but these errors were encountered: