Closed ksaur closed 9 months ago
The errors are coming from within onnxmltools ( self.booster_.attr('objective') and FEATURE_IMPORTANCE_TYPE_MAPPER ) which doesn't yet match the new lightgbm version. Opened https://github.com/onnx/onnxmltools/issues/632
Will pin for now!
https://github.com/onnx/onnxmltools/pull/634 was merged ! :)
So we can either wait for release, or change pipeline to pull from main
LGBM 4.0.0 was released 3 days ago. From Friday runner
test_onnxml_lightgbm_converter.py
:They have added an underscore to many things. Ex:
FEATURE_IMPORTANCE_TYPE_MAPPER
becomes_FEATURE_IMPORTANCE_TYPE_MAPPER
. See https://github.com/microsoft/LightGBM/pull/5654Also in
test_onnxml_lightgbm_converter.py
:Need to investigate what other breaking changes for us.