Hi everyone, I was replicating a workflow found on the knime site, but without applying changes it gives me the following error:
ERROR Keras Network Learner 3:148 Execute failed: An error occurred while creating the Keras network from its layer specifications. Details: module ‘keras.layers’ has no attribute ‘recurrent’ Traceback (most recent call last):
File “”, line 5, in * AttributeError: module ‘keras.layers’ has no attribute ‘recurrent’
my first guess is that something is not right with the conda environment.
Are you able to execute other workflows with the Keras Network Learner node?
Which operating system are you using?
Which version of KNIME Analytics Platform are you using?
I uploaded a version of this workflow including a Conda Environment Propagation node, which will create an conda environment with all necessary packages.
Please give it a try and let me know whether that worked for you as well I tested it on windows and it worked fine.
I Kathrin,
thanks for the upgrade workflow,
Sorry if I answer only now.
I proved your new wkf, i used knime 4.6.0 (now in can’t update) on windows.
I use conda in local 4.9.2 (but i don’t know if pvm use the il my local or Enviromment ??
ok libraries are Enviromment )
the “KERAS NETWORK LEARNER” now work!!! But not work next nodes
WARN : KNIME-Worker-106-Keras Network Executor 3:151 : : Node : Denormalizer : 3:188:154 : Some column(s) as specified by the model is not present in the data: [t1, t2, hum, wind_speed, weather_code, is_holiday, is_weekend, season, Month (number), Day of month, Day of week (number), Hour]
thanks for sharing already a part of the KNIME Log. Unfortunately it doesn’t include the error message from the Keras Network Executor node (these are just some warnings).
Can you please share the full KNIME Log with me? E.g. by reproducing the error and then going to View → Open KNIME Log and saving it in a file?
Hi Kathrin,
I am writing to you only to update the other flow, as you have rightly done in the flow “Multivariate_Time_Series_RNN_Keras_Training”, the “Conda Environment Propagation” it must also be put in the flow “Multivariate_Time_Series_RNN_Keras_Deployment”.
To have the two flows aligned.
As in the picture below.