Error when importing KNIME's Model file in Jupyter
Hello KNIME support and users.
We are currently working on a KNIME project with another company and we are facing the following issue.
I would like to inquire about the pkl model interaction between KNIME and Jupyter notebook.
I exported the ML model information created from the Pickled object port of KNIME’s Python Script through the “Model Writer” node.
After that, I tried to load the file with model extension with pickle.load in Jupyter notebook, but it failed.
Conversely, when I tried to load the file with model extension created by pickle.dump in Jupyter notebook through “Model reader” node in KNIME, I got the following error message.
I get an error message like *Execute failed: File does not specify a valid port object model.*
It is possible to export a model created in KNIME and import the model. It is also possible to pickle.dump & load a model created in Python.
However, it does not seem to be possible to import a model created in KNIME into Jupyter, or to import a model created in Jupyter into KNIME.
To summarize the problem
1.
How can I read the file exported from KNIME to “Model Writer” node in Jupyter notebook?
1.
Is there a way to import files with model extension created in Jupyter notebook via “Model Reader” in KNIME?
However, “Python Object Reader” Node is not available in the current project due to lagacy.
Is there any way to solve the above issues?
Your help will be greatly appreciated.