No Model Available in Download pre-trained model (v2)

sulaihasubi
sulaihasubi Partner, Dataiku DSS Core Designer, Registered, Dataiku Frontrunner Awards 2021 Participant Posts: 7 Partner

Screenshot 2021-08-24 at 11.47.04 AM.png

When run become this:

Failed to run runnable : <class 'ModuleNotFoundError'> : No module named 'tensorflow'

Screenshot 2021-08-24 at 12.41.35 PM.png

Hi everyone,

I am currently doing an Image Classification problem. I following this tutorial https://academy.dataiku.com/image-classification-with-visual-tools-open/583577.

At the first place, there are model available and then after I deleted the Plugin and reinstall back, and wanted to do back again. No pre-trained model is available in the drop-down like the first try I've done. I've no Idea, how to debug this issue.

Please help.

Thanks!

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,225 Dataiker

    Hi,

    The error "No module named : TensorFlow" suggests that tensorflow was not successfully installed as part of the plugin code environment.

    For this plugin, you will also need to ensure that you installed: https://doc.dataiku.com/dss/latest/python/packages.html#additional-prerequisites

    Once those are installed try reinstalling the code environment https://www.dataiku.com/product/plugins/deeplearning-image/#How-to-set-up

  • sulaihasubi
    sulaihasubi Partner, Dataiku DSS Core Designer, Registered, Dataiku Frontrunner Awards 2021 Participant Posts: 7 Partner

    Hi Alex,

    Thank you for the kind response.

    See my answer below:-

    1. For this plugin, you will also need to ensure that you installed: https://doc.dataiku.com/dss/latest/python/packages.html#additional-prerequisites

      - Is there any tutorial on how to install Additional Prerequisites? It seems I'm not clear with this.

    2. Once those are installed try reinstalling the code environment https://www.dataiku.com/product/plugins/deeplearning-image/#How-to-set-up

      - I tried to reinstall the plugin based on the link provided but I face another issue. Please see the image below.

      Screenshot 2021-08-24 at 4.55.02 PM.png

    Thank you, if you can help me to fix this issue. I've been stuck for many hours just for the "environment" and "plugin issues".

    Thanks again.

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,225 Dataiker

    Hi,

    The error itself suggests that you don't have enough memory to install tensorflow. Likely the OS does not have enough memory and is killing the process.

    1) What OS are you using, CentOS, Ubuntu? Depending on the OS if DSS is installed on ubuntu you will need to run: apt-get install python27-devel python36-devel

    2) How much RAM do you currently have, if you run free -g?

  • sulaihasubi
    sulaihasubi Partner, Dataiku DSS Core Designer, Registered, Dataiku Frontrunner Awards 2021 Participant Posts: 7 Partner

    Hi Alex,

    See my answer below:

    1) What OS are you using, CentOS, Ubuntu? Depending on the OS if DSS is installed on ubuntu you will need to run: apt-get install python27-devel python36-devel

    -We are using CentOS

    2) How much RAM do you currently have, if you run free -g?
    -See the image below.MicrosoftTeams-image.png

    Any suggestion for this issue?

    Thank you.

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,225 Dataiker

    Hi,

    Since you only have 3G total RAM of which 2g are free. You will need to add more RAM as packages like Tensorflow and Keras is usually require at least 3G-4G of free memory just to install.

    Can you please adding more RAM at least 1G , preferably 2G and retry the installation.

  • sulaihasubi
    sulaihasubi Partner, Dataiku DSS Core Designer, Registered, Dataiku Frontrunner Awards 2021 Participant Posts: 7 Partner

    Hi Alex,

    Thank you for your reply.

    I will check this issue first and then I will get back to you for the updates.

    Thanks again!

Setup Info
    Tags
      Help me…