Keras Network Learner ERROR - Failed to save Keras deep learning network | Ubuntu 22.04

Hi,
I use Knime on Ubuntu 22.04. I’m a beginner and I received the following error when executing a workflow.

ERROR Keras Network Learner 3:16       Execute failed: An error occurred while creating the Keras network from its layer specifications. Details:
Failed to save Keras deep learning network.
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/home/user/knime/knime_4.7.2.linux.gtk.x86_64/knime_4.7.2/plugins/org.knime.dl.keras_4.7.0.v202211082354/py/DLKerasNetwork.py", line 235, in save
    raise RuntimeError('Failed to save Keras deep learning network.') from e
RuntimeError: Failed to save Keras deep learning network.

The workflow looks like this:
Workflow error.json (278.9 KB)

I already used the Keras Network learner in another workflow and I had no problems. This is the workflow where it worked:
Working Workflow.json (138.6 KB)

I tried to raise the permissions of the files mentioned in the error but it didn’t help.
Do you know how I could solve this error?

Thank you in advance.
Best wishes

1 Like

Welcome to the KNIME Forum @dipson and thank you for your message.
I have found a fairly old ticket reporting an error similar to yours. The issue there described is that the Keras Network Learner node fails when the Layer nodes are pre-executed. I am not sure if this is still the case, but could you please reset the layer nodes and try again?

Cheers,
Emilio

1 Like

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