my program crashed when call LightGBM::Boosting::Predict()
LightGBM::Boosting* boosting = LightGBM::Boosting::CreateBoosting("gbdt", "model.txt"); boosting->InitPredict(0, num, false); boosting->Predict(data[0].data(), &predValue, nullptr); //coredump here
Thanks for using LightGBM.
This is not enough information for us to help. Can you please provide a minimal, reproducible example? That would mean a self-contained, minimal example code that we could run which reproduces what you're seeing.
As well as this information which you were asked for when you clicked "New issue":
- operating system
- version of LightGBM you are using
- how you installed LightGBM (exact commands)
- compiler you're using for your own program (since it appears you're using the C API directly)
This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one. Thank you for taking the time to improve LightGBM!
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.