# "An error occured during training of the Keras deep learning network" when using KNIME

**URL:** <https://forum.knime.com/t/an-error-occured-during-training-of-the-keras-deep-learning-network-when-using-knime/38581>\
**Category:** KNIME Analytics Platform\
**Created:** [January 5, 2022, 10:19am UTC](https://forum.knime.com/t/an-error-occured-during-training-of-the-keras-deep-learning-network-when-using-knime/38581 "2022-01-05T10:19:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [January 5, 2022, 3:06pm UTC](https://forum.knime.com/t/an-error-occured-during-training-of-the-keras-deep-learning-network-when-using-knime/38581/3 "2022-01-05T15:06:01Z")

</div>

@akhtarameen were you able to test the suggestions in this post and the associated workflows using [Keras](https://kni.me/w/8pLvXVGL1hj7lXDh) and Conda environment propagation (for MacOSX and Windows)?

> [@AttributeError: module ‘keras.optimizers’ has no attribute ‘Adam’](https://forum.knime.com/t/attributeerror-module-keras-optimizers-has-no-attribute-adam/38461/3):
>
> @akhtarameen as it happens I just have collected some example how to set up [Keras](https://hub.knime.com/search?tag=Keras&type=Workflow) and [Tensor Flow](https://hub.knime.com/search?tag=TensorFlow&type=Workflow) 2 (for classification tasks) with the help of the [Conda Environment propagation](https://kni.me/n/7HrPteTMsla4bZml). If you have a working [Miniconda](https://docs.conda.io/en/latest/miniconda.html) or Anaconda environment [configured in KNIME](https://docs.knime.com/latest/python_installation_guide/index.html#configure_python_integration) you should be able to just use the propagation and get a [working deep learning setup](https://docs.knime.com/latest/deep_learning_installation_guide/index.html#_introduction). You would then have to carefully check and plan what you want to d with the setup and what architecture you want to use. The setup in …

If this does work initially as @Kathrin has suggested it would be interesting to see your setup and especially the build-up of the network. If you could share that someone might be able to have a look.

---

_[View the full topic](https://forum.knime.com/t/an-error-occured-during-training-of-the-keras-deep-learning-network-when-using-knime/38581)._
