-
Notifications
You must be signed in to change notification settings - Fork 313
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
Cloud not load xgboost model into spring boot service #785
Comments
I think this should be a matter of adding |
hi, I have add it as a dependency in our build.sbt, but it does not work, import ml.combust.mleap.{Dependencies, Common} The error is “Exception in thread "main" java.util.NoSuchElementException: key not found: xgboost.classifier |
1 similar comment
hi, I have add it as a dependency in our build.sbt, but it does not work, import ml.combust.mleap.{Dependencies, Common} The error is “Exception in thread "main" java.util.NoSuchElementException: key not found: xgboost.classifier |
Can you provide a more complete stacktrace? My only thought right now is that the mleap runtime can't find the correct op used to load the bundle. This could occur if you have a resources.conf file in your project and aren't having mleap's reference.conf appended to your project's reference.conf. E.g., if you are using sbt-assembly plugin, then you might need
But a complete stacktrace will help to confirm/deny this. |
hi,
I have serialized a xgboost-spark pipeline model in bundle format, but I could not load it into spring boot service because of "xgboost.classifier" op is not supported. I found that mleap-xgboost-runtime is released now. It seems loading xgboost-spark pipeline should be accessible. Would you help me about how to add dependency of mleap-xgboost-runtime into mleap-spring-boot ? Or update the docker with xgboost model support?
The text was updated successfully, but these errors were encountered: