I am currently playing around with the the Keras nodes and tried to get an example workflow running but something seems to be wrong with my Python setup. As recommended, I used the “new environmenr” option in the Python Deep Learning preferences to create a new environment. Package versions are now:
keras - 2.2.4
tensorflow - 1.12.0
python - 3.6.9
Executing the ‘Keras Network Learner’ fails with the following error:
ERROR Keras Network Learner 2:16 Failed to save Keras deep learning network. Traceback (most recent call last): File "<string>", line 3, in <module> File "/Users/niederle/knimeInUse/knime-apps/KNIME 4.0.0.app/Contents/Eclipse/plugins/org.knime.dl.keras_4.0.0.v201906111427/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. ERROR Keras Network Learner 2:16 Execute failed: An error occurred while creating the Keras network from its layer specifications. This could be due to a version mismatch between Keras and TensorFlow. Please make sure that Keras 2.1.6 and TensorFlow 1.8.0 are installed in your Python environment. See log for details. You can install the correct version of Keras and TensorFlow on the 'Python Deep Learning' preference page.
I will now try to downgrade Keras and Tensorflow to the suggested versions and see whether that helps. Any other ideas?