KNIME EXAMPLE WORKFLOWS - 02_Train_Simple_CNN

DL Python Network Creator Node gets Error after run

Traceback (most recent call last):
File “C:\Program Files\KNIME\plugins\org.knime.python2_4.2.2.v202009241055\py\messaging\RequestHandlers.py”, line 96, in _handle_custom_message
response = self._respond(message, response_message_id, workspace)
File “C:\Program Files\KNIME\plugins\org.knime.python2_4.2.2.v202009241055\py\messaging\RequestHandlers.py”, line 376, in _respond
output, error = workspace.execute(source_code, request.id)
File “C:\Program Files\KNIME\plugins\org.knime.python2_4.2.2.v202009241055\py\PythonKernelBase.py”, line 289, in execute
exec(source_code, self._exec_env, self._exec_env)
File “”, line 5, in
TypeError: No deep learning network type associated with Python type ‘<class ‘tensorflow.python.keras.engine.sequential.Sequential’>’.
Please check your assignment of ‘output_network’ within the script and make sure you are not missing any KNIME extensions.
knime.log (157.6 KB)

Hi @syauqisabili,

Have you installed all the required extensions as stated in the description of the workflow?

In order to run the example, please make sure you have the following KNIME extensions installed:

  • KNIME Deep Learning - Keras Integration (Labs)
  • KNIME Image Processing (Community Contributions Trusted)
  • KNIME Image Processing - Deep Learning Extension (Community Contributions Trusted)
  • KNIME Image Processing - Python Extension (Community Contributions Trusted)
  • KNIME Streaming Execution (Labs)

You also need a local Python installation that includes Keras. Please refer to https://www.knime.com/deeplearning#keras for installation recommendations and further information.

Best,
Stefan

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.