-
Notifications
You must be signed in to change notification settings - Fork 189
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
Add missing dependency onnxconverter_common, fix multi regression with xgboost #679
Conversation
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
Signed-off-by: Xavier Dupre <[email protected]>
@xadupre any chance to get a release for this version? |
Hello Xavier Dupré, its blurshift again with the same problem i have ran this code on google colab the codecode= " //!pip uninstall protobuf //use my cpu specifi version //code as follows: //Your data and labels [-Ox (253, 84) -Oy (253, 112) -] //Train XGBoost regressor //Define input type (adjust shape according to your input) //Convert XGBoost model to ONNX //Save the ONNX model /content/sample_data "; the errorthe error i get MissingShapeCalculator Traceback (most recent call last) in <cell line: 22>() 4 frames /usr/local/lib/python3.10/dist-packages/skl2onnx/common/_topology.py in infer_types(self) MissingShapeCalculator: Unable to find a shape calculator for type '<class 'xgboost.sklearn.XGBRegressor'>'. "; This problem still persists, even after installing new packages, Could you try running my code on google colab and try to examine the resulting converted onnx model using 'https://netron.app/'. Ensure the app has output shape=(-1, 210). |
Fixes issue #673, #676