Open tdoublep opened 2 years ago
Having the same problem, I found by manually setting target_opset =13 it will convert the model but the probabilities of the loaded models are wrong if I use them to predict in the InferenceSession.
How to preprocess onnxruntime data without using xgboost library? I want to completely replace XGB. Dmatrix (input_data) of xgboost library with numpy. I don't know what to do? Thanks a lot
You should write convert_xgboost(clf, initial_types=initial_type, target_opset=13)
.
With the latest version of
onnxmltools
, we have started seeing errors when converting XGBoost models.Here is a simple test to reproduce:
This is now failing with the following error:
I'm running the above test in a clean Anaconda environment (Python 3.8) with the following packages installed from pip:
Please let me know if I can provide any additional information that would be useful.
Any help much appreciated!