Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Download pre-trained model (v2) - Image Classification Project
When run become this:
Failed to run runnable : <class 'ModuleNotFoundError'> : No module named 'tensorflow'
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!
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
Hi Alex,
Thank you for the kind response.
See my answer below:-
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. ๐
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?
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.
Any suggestion for this issue?
Thank you.
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.
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!