-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confused which version TensorfFlow CPU supports #43229
Comments
Please, follow the instructions as mentioned here. In case of windows please make sure to download the latest microsoft visual c++ redistributable from here. Thanks! |
Should I install GPU as instructed if I decide to only use the CPU for TensorFlow? What I mean is that I dismiss the GPU installations. I have been dealing with this GPU issue since a week ago and still cannot be installed properly. I find it extremely difficult/complicated. Thus, my main focus is just to install TensorFlow CPU even it is much slower and better than keeping installing for hours/days. My Python is between 3.6 to 3.8. For Python 3.6, my TF is 1.1x till 2.20 and for Python 3.7, my TF is 2.1+.0.
Actually I had been installing a number of versions of NVIDIA drivers (like 30 GB). I kept having 'NVIDIA Driver cannot continue' even though I could install the CUDA toolkit and cudnn smoothly. Due to this reason, if I cannot keep up with the installation by today, I would have to drop my Tensorflow task as a part of my project. Thank you. |
Can you install from source following this guide. TensorFlow is only tested and supported for 64-bit, x86 systems..I don't believe you can install TensorFlow through pip or conda normally from a 32-bit system |
Well, I will do it now and see if I can do it properly.
Thanks for the clarification. Yes, I installed everything in my virtualenv or through pip/conda. That's what I followed on YouTube. I have unsuccessfully installed TensorFlow GPU on Windows 10. Now, I have to use my Ubuntu with no nvidia yet. The end project would be to use Raspberry Pi to perform object detection. Installing TF is a headache for now because it is the base of my project development. I have to find which object detection models are the best to perform object detection on a very slow embedded device. I just confirmed somewhere that my CPU does not support AVX and that I am required to build from source. |
@trystbinx What is the output of |
@trystbinx What is your CPU? If your CPU does not support AVX then I would not recommend going for the build from source route. Better find a setup where AVX is available and everything would go much smoother (including the NVIDIA GPU drivers and CUDA installation). You can always install the latest NVIDIA drivers but make sure CUDA is 10.1, for TF 2.2, 2.3 and do not try to install other CUDA versions in parallel. Raspberry Pi has an ARM CPU, so AVX is not relevant there and setup is somewhat different, more likely going to need the TensorFlow Lite and convert the object detection model for it. If you need better performance than the CPU on a Raspberry Pi can provide, have a look at the Coral Edge TPU line-up. Either an USB Accelerator that plugs into the Raspberry Pi and supports the TF Lite models, or the whole dev board without the Raspberry board. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
System information
Describe the problem
In terms of the OS Platform, I have used 3 different OS such as Windows 10, Ubuntu 18.04 and Linux Mint.
I am having a persistent problem in installing TensorFlow GPU before because the NVIDIA Driver cannot be installed/continued due to incompatible versions. Thus, I gave up on it, and now am only interested in installing TensorFlow CPU.
I used to having problems when installing TensorFlow GPU when it always says 'DLL failed to load when ......' and 'Importerror no name image_preprocessing'.
My issue is whatever I issue 'import tensorflow as tf' in Python 3.6 to Python 3.8 with TF 1.1+ to 2.3, respectively, the following message always appears (see logs).
Provide the exact sequence of commands / steps that you executed before running into the problem
Python = 3.6 to 3.8
Tensorflow = 1.1+ to 2.3.0
Any other info / logs
Is there any simpler way of installing TensorFlow CPU without concerning about its version/getting errors? I have been working on this for days.
I seriously look forward to hearing from the TensorFlow team about this issue. I am needing to install TensorFlow to perform performance benchmarks on my object detection models, but this cannot be done without having TensorFlow in my machine.
Highly appreciated your answers/advice.
The text was updated successfully, but these errors were encountered: