-
Notifications
You must be signed in to change notification settings - Fork 181
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
Xgboost conversion to ONNX error #349
Comments
It is not. This conversion is implemented for LightGbm and not for XGBoost. We could replicate the same trick if needed. |
@xadupre do you have an example on how this would work? I'm trying to convert a xgb model to onnx and getting a similar error. Error Code
|
I wrote a unit test to make sure it was passing: https://github.com/onnx/onnxmltools/blob/master/tests/xgboost/test_xgboost_converters.py#L188. How do you train your model? |
@xadupre We're using dask_xgboost: |
Hi
I am facing below error
ValueError: No proper operator name found for '<class 'xgboost.core.Booster'>'
while converting my xgboost model to ONNX. The model was trained using xgboost.
used convert_xgboost
onx = onnxmltools.convert.convert_xgboost(loaded_model, initial_types=initial_type)
Any thoughts on this error?
Does this mean xgboost.core.Booster is not supported for now?
Thanks
Chengning
The text was updated successfully, but these errors were encountered: