LightGBM icon indicating copy to clipboard operation
LightGBM copied to clipboard

my program crashed when call LightGBM::Boosting::Predict()

Open Jason0401 opened this issue 3 years ago • 3 comments

LightGBM::Boosting* boosting = LightGBM::Boosting::CreateBoosting("gbdt", "model.txt"); boosting->InitPredict(0, num, false); boosting->Predict(data[0].data(), &predValue, nullptr); //coredump here

Jason0401 avatar Dec 05 '23 04:12 Jason0401

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)

jameslamb avatar Dec 27 '23 17:12 jameslamb

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!

github-actions[bot] avatar Jan 27 '24 04:01 github-actions[bot]

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.

github-actions[bot] avatar Jan 29 '25 00:01 github-actions[bot]