I tried fresh knime 3.5 and knime 3.6 zip-extractions with new anaconda enviroments with python 3.5 and 3.6 and the packages (and versions) mentioned in https://www.knime.com/deeplearning and also new workspaces.
The output of
import sys
print(sys.path)
is
[‘C:\apps\knime\plugins\org.knime.python2_3.6.0.v201807061638\py’, ‘C:\apps\knime\plugins\org.knime.dl.python_3.6.0.v201806290954\py’, ‘C:\apps\knime\plugins\org.knime.dl.tensorflow_3.6.0.v201807090846\py’, ‘C:\apps\knime\configuration\org.eclipse.osgi\424\0\.cp\py’, ‘C:\apps\knime\plugins\org.knime.dl.keras_3.6.0.v201807091039\py’, ‘C:\apps\knime\plugins\org.knime.python2_3.6.0.v201807061638\py’, ‘C:\apps\knime’, ‘C:\apps\anaconda3\envs\py35_knime\python35.zip’, ‘C:\apps\anaconda3\envs\py35_knime\DLLs’, ‘C:\apps\anaconda3\envs\py35_knime\lib’, ‘C:\apps\anaconda3\envs\py35_knime’, ‘C:\apps\anaconda3\envs\py35_knime\lib\site-packages’, ‘C:\apps\knime\plugins\org.knime.python2.serde.flatbuffers_3.6.0.v201806190638\py\’, ‘C:\apps\knime\plugins\org.knime.dl.python_3.6.0.v201806290954\py;C:\apps\knime\plugins\org.knime.dl.tensorflow_3.6.0.v201807090846\py;C:\apps\knime\configuration\org.eclipse.osgi\424\0\.cp\py;C:\apps\knime\plugins\org.knime.dl.keras_3.6.0.v201807091039\py’]
If I test the worklflow https://www.knime.com/nodeguide/analytics/deep-learning/keras/train-mnist-classifier and at least the the uppler left node of the “DL Python Network Creator” works and tells in the Console:
WARN PythonKernel Using TensorFlow backend.
WARN PythonKernel 2018-07-18 13:12:48.014345: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX
But other Keras/Networking nodes show real errors.
The python packages are also suffucient (according to https://www.knime.com/deeplearning/keras):
conda list -n py35_knime
# packages in environment at C:\apps\anaconda3\envs\py35_knime:
#
# Name Version Build Channel
absl-py 0.2.2 py35_0
astor 0.6.2 py35_0
blas 1.0 mkl
bleach 1.5.0 py35_0
certifi 2018.4.16 py35_0
gast 0.2.0 py35_0
grpcio 1.12.1 py35h1a1b453_0
h5py 2.8.0 py35h3bdd7fb_0
hdf5 1.10.2 hac2f561_1
html5lib 0.9999999 py35_0
icc_rt 2017.0.4 h97af966_0
intel-openmp 2018.0.3 0
jedi 0.12.0 py35_1
keras 2.1.6 py35_0
libprotobuf 3.5.2 he0781b1_0
markdown 2.6.11 py35_0
mkl 2018.0.3 1
mkl_fft 1.0.1 py35h452e1ab_0
mkl_random 1.0.1 py35h9258bd6_0
numpy 1.14.5 py35h9fa60d3_0
numpy-base 1.14.5 py35h5c71026_0
pandas 0.23.3 py35h830ac7b_0
parso 0.2.1 py35_0
pip 10.0.1 py35_0
protobuf 3.5.2 py35h6538335_0
python 3.5.5 h0c2934d_2
python-dateutil 2.7.3 py35_0
pytz 2018.5 py35_0
pyyaml 3.12 py35h4bf9689_1
scipy 1.1.0 py35h672f292_0
setuptools 39.2.0 py35_0
six 1.11.0 py35hc1da2df_1
tensorboard 1.8.0 py35he025d50_0
tensorflow 1.8.0 0
tensorflow-base 1.8.0 py35h1a1b453_0
termcolor 1.1.0 py35_1
vc 14.1 h0510ff6_3
vs2015_runtime 15.5.2 3
werkzeug 0.14.1 py35_0
wheel 0.31.1 py35_0
wincertstore 0.2 py35hfebbdb8_0
yaml 0.1.7 hc54c509_2
zlib 1.2.11 h8395fce_2
I don’t know what to do…