Deep Learning Keras Installation

Greetings Knime Community.

I woulkd like to know if anyone is able to assist with the following case:

I need to install Tensorflow and Keras packages for Depp Learning affairs.

Initially I have installed the following extensions as per TSA algorithms demands:

  1. KNIME Python Integration
  2. KNIME Deep Learning - Keras Integration.
  3. KNIME Deep Learning - TensorFlow Integration.

Additional information:
Knime Analytics Platform Version: 4.6.4
Python version: 3.9.13
TensorFlow Package Version: 2.9.0
Keras Package Version: 2.9.0

Keras Version does not fit due to TensorFlow version package (2.9.1) which exceeds the one required for a proper functionality (Knime suggests versions from 1.0.0 until 2.0.0).

Based on the prior explanation I decided to downgrade Tensorflow package applying <pip upgrade tensorflow==2.0.0> however python didnt applied this action indicating impossibility to rewrite tensorlow, hence I had to uninstall Tensorflow; subsequently I reinstall Tensorflow again but this time using version 1.15.0 notwithstanding Anaconda Powershell shows and indicates impossibility to accomplish this action, please se the error below:

I am trying to install the sugggested tensorflow package version and so utilize keras, however KNIME Analytics Platform doesnt accept the latest tensorflow version and cant install an old tensorflow package version (from 1.0.0 until 2.0.0), so I am not really sure what exactly can I do.

Does anybody can provide technical criteria about how to solve this scenario?
Thanks in advance.

Quick View:

1 Like

@AnthonyCREng you could take a look at this

2 Likes

Alright got it, I am going to revise the information provided, let me try and evaluate results, then I will come back to you to let you know the outcome.

1 Like

@AnthonyCREng if you want you can now check out my longer article about property setting up KNIME and Python and Deep Learning environments:

3 Likes

Thanks for sharing me this fascinating summary @mlauber71 Let me tell you that I have resolved the issue regarding Deep Learning Installation extensions (Python, Keras, Tensorflow, Conda-Forge)

Steps:

  1. Downloand Anaconda
  2. Create a DeepLearningEnvironment via Anaconda Prompt.
  3. Install the following extensions in Knime Analytics Platform:
    03.01 Keras
    03.02 Tensorflow
    03.03 Python Extension
  4. Set Preferences/Knime/Python/Python(Labs) = BUNDLE
  5. Set Preferences/Knime/Python/PythonDeepLearning, as follows:

Voila! Ecco! Listo!

3 Likes

Thanks a lot gentlemen. Some stuff is to tough for me, but I will try to understand.

I share this topic from stackoverflow that also helped me in finding the solution (I am an IT dummy)

1 Like

Thank you, @Fernivel, for your words and feedback. You are right, this is an alternative method we could pursue with conda-forge. Thank you for your contribution to this discussion.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.