I have no quick solution but there was a lengthy discussion about this.
You might have to adapt to current versions necessary. Also check the current KNIME guides for python and deep learning integration:
https://docs.knime.com/latest/python_installation_guide/index.html
https://docs.knime.com/latest/deep_learning_installation_guide/index.html
3 Likes