带有anaconda的tensorflow-gpu-工作正常吗?

时间:2018-06-20 02:38:57

标签: python tensorflow anaconda

我先用tensorflow-gpu安装了conda,但是找不到dll文件,我意识到这是由于没有安装CUDA和CuDNN。因此,一旦我安装了它,我尝试在tensorflow中建立一个会话,并得到以下输出:

2018-06-19 19:28:14.869822: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2018-06-19 19:28:15.902932: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1356] Found device 0 with properties:
name: GeForce GTX 1050 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.62
pciBusID: 0000:01:00.0
totalMemory: 4.00GiB freeMemory: 3.30GiB
2018-06-19 19:28:15.909296: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1435] Adding visible gpu devices: 0
2018-06-19 19:29:45.384813: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-06-19 19:29:45.397359: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:929]      0
2018-06-19 19:29:45.401499: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:942] 0:   N
2018-06-19 19:29:45.406532: I T:\src\github\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3033 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1050 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)

实际上花了一段时间才打印出来。我的安装有问题吗,或者这实际上是常见问题吗?

0 个答案:

没有答案