How to Install Tensorflow on Windows10 with GPU support

preview_player
Показать описание


How to Install Tensorflow on Windows10 with GPU support. Make sure you do not have any other version of Python installed on your machine before you proceed.

The links are attached below:

Рекомендации по теме
Комментарии
Автор

First of all thanks alot for all useful videos you made. Umm, I have a few questions: why did you installed the CPU implementation? is it a necessary step before installing the one for GPU or it is just to show how to do it? what do you mean by virtual environment? this installation tends to run on a virtual machine has windows 10? what next? is this is it? I mean next, I just create a new project using anaconda and start using tensorflow through importing its libs? Looking forward to hearing from you. thanks again

alaaalhowaide
Автор

getting an error when I am trying to import tensorflow as bellow
(tensorflowGPU0p12) C:\WINDOWS\system32>python
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return
File "c:\Tensorflow\tensorflowGPU0p12\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 577, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 906, in create_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <module>
from import *
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return
File "c:\Tensorflow\tensorflowGPU0p12\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_pywrap_tensorflow_internal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 52, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return
File "c:\Tensorflow\tensorflowGPU0p12\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 577, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 906, in create_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 41, in <module>
from import *
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "c:\Tensorflow\tensorflowGPU0p12\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return
File "c:\Tensorflow\tensorflowGPU0p12\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_pywrap_tensorflow_internal'


Failed to load the native TensorFlow runtime.


for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
>>>

Everything goes well during installation for CPU but for GPU this error shows up.

rahulbalhara
Автор

Thanks, I was wondering why my computer cannot run Tensorflow on GPU, although I installed everything correctly; it turns out my GPU rank is 2.1 which is below 3.

DanialEsmaeili
Автор

awesome dude !!...The best one on installing tensorflow !!

hariomt
Автор

I keep getting the error: is not a supported wheel on this platform."
How can I get around this? Thank you

siegeO
Автор

thank you !! this is very helpful !! but it tensorflow only words in cmd and not in jupyter. Any hacks on this ?

utkarshsrivastava
Автор

I am missing a whole lot of .lib and .dll files you got more than 3 times as much as I did from the same download

patrickhentschel
Автор

Tensorflow isn't compatible with cuda 9.0 and as of now it's unusable.

elipeters
Автор

thank you for this video but i have the prolem: is not a supported wheel on this platform have windows 10(32 bits)
thank you for your help

mbouchra
Автор

I everything explained how to install tensorflow gpu there

sushantgautam