С установкой новой версии проблем нет. Однако когда запускаю простенький код на Python среде PyCharm
Код:
import tensorflow as tf
x = 2
y = 3
# with tf.device('/gpu:2'):
a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], name='a')
b = tf.constant([9.0, 3.0, 3.0, 4.0, 8.0, 6.0], name='b')
c = tf.multiply(a, b)
with tf.Session() as sess:
print(sess.run(c))
Дает ошибку (на 1.1 все работало)
Код:
raceback (most recent call last):
File "C:\Programs\Python\Python35\lib\site-packages\tensorflow\python\platform\self_check.py", line 75, in preload_check
ctypes.WinDLL(build_info.cudart_dll_name)
File "C:\Programs\Python\Python35\lib\ctypes\__init__.py", line 347, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/../PycharmProjects/my_pyton/Graph.py", line 2, in <module>
import tensorflow as tf
File "C:\Users\..\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Programs\Python\Python35\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Programs\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "C:\Users\...\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\platform\self_check.py", line 82, in preload_check
% (build_info.cudart_dll_name, build_info.cuda_version_number))
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive
Process finished with exit code 1
cuda 10 обновил, якобы драйвера обновлялись.
Может что-то с Python или с установками в PyCharm?
Или с моим GPU? Может не тянет версию 1.14?