我缺少让tf.test.is_gpu_available()返回True的东西吗?是否有某种需要更新的配置文件?
我正在使用Python 3.7。{1,2}
后:pip install --user tensorflow-gpu==2.0.0-alpha0
(前:pip install --user tensorflow==2.0.0-alpha0)
部分点子清单:
tabulate 0.8.3
tb-nightly 1.14.0a20190301
tensorboard 1.13.1
tensorflow-datasets 1.0.1
tensorflow-estimator 1.13.0
tensorflow-gpu 2.0.0a0
tensorflow-metadata 0.13.0
termcolor 1.1.0
terminado 0.8.1
terminaltables 3.1.0
testpath 0.4.2
tf-estimator-nightly 1.14.0.dev2019030115
tqdm 4.31.1
traitlets 4.3.2
urllib3 1.24.1
virtualenv 16.0.0
Run Code Online (Sandbox Code Playgroud)
执行: import tensorflow as tf
返回:找不到带有堆栈回溯的DLL模型:
C:\Users\steph\PycharmProjects\Image1\TF2>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow …Run Code Online (Sandbox Code Playgroud)