onnxmltools
onnxmltools copied to clipboard
ONNXMLTools enables conversion of models to ONNX
Hello, when installing via pip, the ``packaging`` module is not included in the installation and is required when importing ``convert_xgboost`` from ``onnxmltools.convert`` See below: ``` from onnxmltools.convert import convert_xgboost Traceback...
# Problem ## How to reproduce ```bash pip install onnxmltools ``` ```bash pip uninstall onnxmltools ``` ### output Found existing installation: onnxmltools 1.11.1 Uninstalling onnxmltools-1.11.1: Would remove: ~/miniconda3/envs/myenv/lib/python3.8/site-packages/onnxmltools-1.11.1.dist-info/* ~/miniconda3/envs/myenv/lib/python3.8/site-packages/onnxmltools/* ~/miniconda3/envs/myenv/lib/python3.8/site-packages/tests/*...
Seems to be unsupported ``` Traceback (most recent call last): File "convert.py", line 9, in onnx_model = onnxmltools.convert_coreml(coreml_model, 'Example Model') File "/Library/Python/3.7/site-packages/onnxmltools/convert/main.py", line 18, in convert_coreml custom_conversion_functions, custom_shape_calculators) File "/Library/Python/3.7/site-packages/onnxmltools/convert/coreml/convert.py",...
Hello, I want to change the input spec as image type instead of multi array. Is this possible? For coremltools, it is possible to change input type from multi array...
I have an old XGBClassifier model pickled to a file, which was created by xgboost 1.4.2, back when `use_label_encoder=True` was default. It seems that onnxmltools does *not* support XGBClassifiers with...
Due to the following code in `onnxmltools/proto/__init__.py`: https://github.com/onnx/onnxmltools/blob/d7db0ffc73e33c6545261dfb72ed69ea12b3d48a/onnxmltools/proto/__init__.py#L24-L50 `onnx.helper.make_tensor` gets overwritten. Hence, any code using `onnxmltools` that also wants to use `make_tensor` is forced to use a more primitive version,...
Hi, I am upgrading my python to 3.10.0, currently using 3.9.5 where onnxmltools==1.7.0 working good. I installed 1.10.0 in py3.10.0, I am getting following error while installing May I have...
I installed ONNX 1.10.0, ONNX Runtime 1.10.0 and ONNXMLTools 1.10.0 I converted a XGBoost classifier model (trained in Python 3.8.5) to an ONNX model by `onnxmltools.convert.convert_xgboost()`. However I could not...
I've began working with onnxruntime a while ago, my backgrounds are mostly c++ and c#, and I've dealt very little with python. Having basic knowledge of python, I find extremely...
# Issue In [`onnxmltools/convert/lightgbm/convert.py`](https://github.com/onnx/onnxmltools/blob/060a71ef947f9d9e87e94dd8320ef78c83c946cb/onnxmltools/convert/lightgbm/convert.py), inline comments indicate that only `LGBMClassifiers`, `LGBMRegressor` and `Booster` are supported: ``` This function produces an equivalent ONNX model of the given lightgbm model. The supported...