KNIME Deep Learning - Train MNIST classifier

This workflow trains a simple convolutional neural network (CNN) on the MNIST dataset via Keras.

This is a companion discussion topic for the original entry at

Hello there,

I’m trying unsuccessfully to run this workflow in a 4.2.0 version of your platform.

All the aforementioned requirements in terms of KNIME extensions and Python installation appear to be met.

Apparently, the Keras Network Learner is unhappy and stops its learning process with the following error:

“Incompatible port spec at port 0, expected: DLKerasNetworkPortObjectSpecBase, actual: TF2NetworkPortObjectSpec”

Any hint to make things all nice and dandy?