You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to convert a scikit-learn pipeline to an onnx model, a teammate discovered that setting the fill_value to an abritary string value raises an error during the conversion.
Assuming the guard statement is still needed when handling numeric data, I believe it just needs to be moved into the else block after the check on if this is an imputer for string or numeric data.
I'm working on a PR right now to add unit tests for this and to move the guard statement.
The text was updated successfully, but these errors were encountered:
While attempting to convert a scikit-learn pipeline to an onnx model, a teammate discovered that setting the
fill_value
to an abritary string value raises an error during the conversion.For example, when running the below code
The
to_onnx
call raises the following errorI believe this is due to a leftover guard statement that existed before String support was added in #694.
Assuming the guard statement is still needed when handling numeric data, I believe it just needs to be moved into the else block after the check on if this is an imputer for string or numeric data.
I'm working on a PR right now to add unit tests for this and to move the guard statement.
The text was updated successfully, but these errors were encountered: