Skip to content
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

LGBM_BoosterLoadModelFromString failed on windows, but succeed in macos #5577

Closed
SKTT1Ryze opened this issue Nov 7, 2022 · 4 comments
Closed
Labels

Comments

@SKTT1Ryze
Copy link

Description

LGBM_BoosterLoadModelFromString c_api failed on windows, but succeed in macos.
Error msg in windows:

Model format error, expect a tree here. met shrinkage=0.1

Env

lib_lightgbm.dll version: 3.3.3, windows x86_64

@jameslamb
Copy link
Collaborator

@SKTT1Ryze thanks for using LightGBM!

I see you opened and then immediately closed this....what happened? It would be useful for others arriving at this issue from search engines to understand the cause of that error and how you got past it.

@SKTT1Ryze SKTT1Ryze reopened this Nov 8, 2022
@SKTT1Ryze
Copy link
Author

In the windows platform, model file is dos format and only the unix format is understood by LightGBM.

@SKTT1Ryze thanks for using LightGBM!

I see you opened and then immediately closed this....what happened? It would be useful for others arriving at this issue from search engines to understand the cause of that error and how you got past it.

@jameslamb
Copy link
Collaborator

I see, I suspect you ran into the same issue as #5508.

Thanks for that explanation. In the future, if you post here and then close the discussion, please provide an explanation so that other people finding the conversation from search engines can learn from your experience.

@github-actions
Copy link

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 github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants