-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Issues downgrading xgboost 2 model #10257
Comments
It is not possible to "downgrade" a trained model. This is analogous to Microsoft Word 97 being unable to load .docx files from Word 2019. |
Unfortunately not, and I read in the docs that the model is forwards compatible across versions (admittedly I'm going backwards) It seems there is something that might need tweaking to transition between 2.0.3 and 1.1 though I've not yet found out what it is.. |
The docs say that the model is backwards compatible, which is in the opposite direction of forward compatibility. So the following is true:
In this case, you should probably train a new model in an environment with |
Feel free to reopen if there are further questions. |
I'm attempting to downgrade a trained xgboost 2 model down to 1.1 (as another system needs the model to be compatible with 1.1)
These are the steps that i taking
In an environment with
xgboost==2.0.3
installedIn an environment with
xgboost==1.1
installedWhich results in the following error:
Is this the right approach? or is there something I need to do inbetween ? i also seem to struggle to re-import the model into other xgboost versions ive tried (e.g 1.6, for various other errors)
The text was updated successfully, but these errors were encountered: