如何解决我在进行测试时,tensorflow-gpu不再获得任何输出
我在做测试部分(完成培训部分)时遇到了这个问题,它停止了20分钟,没有任何输出,GPU正在运行,CPU使用率非常高。输出如下:
Using TensorFlow backend.
Found 697865 images belonging to 101 classes.
2020-08-10 22:16:24.785340: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2020-08-10 22:16:25.050899: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:02:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2020-08-10 22:16:25.233028: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 1 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:04:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2020-08-10 22:16:25.406456: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 2 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:83:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2020-08-10 22:16:25.586879: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 3 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:84:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2020-08-10 22:16:25.588882: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0,1,2,3
2020-08-10 22:16:26.719130: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-10 22:16:26.719170: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0 1 2 3
2020-08-10 22:16:26.719178: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N Y N N
2020-08-10 22:16:26.719181: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 1: Y N N N
2020-08-10 22:16:26.719185: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 2: N N N Y
2020-08-10 22:16:26.719189: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 3: N N Y N
2020-08-10 22:16:26.719882: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10409 MB memory) -> physical GPU (device: 0,name: GeForce GTX 1080 Ti,pci bus id: 0000:02:00.0,compute capability: 6.1)
2020-08-10 22:16:26.720283: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 10409 MB memory) -> physical GPU (device: 1,pci bus id: 0000:04:00.0,compute capability: 6.1)
2020-08-10 22:16:26.720567: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:2 with 10409 MB memory) -> physical GPU (device: 2,pci bus id: 0000:83:00.0,compute capability: 6.1)
2020-08-10 22:16:26.720884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:3 with 10409 MB memory) -> physical GPU (device: 3,pci bus id: 0000:84:00.0,compute capability: 6.1)
有人可以帮我解决这个问题吗?
以下是软件包的版本:
-python:2.7 -tensorflow:1.12.0 -凯拉斯:2.2.4 -CUDA:9.0.176 -cudnn:7.6.5
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。