小石头19
2022-08-06 18:22
采纳率: 0%
浏览 11

测试tensorflow时gpu启动没有结果,如何解决?(语言-python)

问题遇到的现象和发生背景

在测试tensorflow时gpu启动没有结果,具体方法见https://blog.csdn.net/Netceor/article/details/119821194
程序一直在运行但是没有想要的结果,之后就手动停止了,具体结果和图片如下所示,请问各位这个问题怎么解决?

问题相关代码
import tensorflow as tf
print(tf.test.is_gpu_available())
运行结果及报错内容

D:\ANACONDA\envs\dptensorflow\python.exe "D:\Python learn————\deeplearning\tef.py"
2022-08-06 18:07:39.390587: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2022-08-06 18:07:39.395244: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2022-08-06 18:07:39.417963: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: NVIDIA GeForce RTX 3060 Laptop GPU major: 8 minor: 6 memoryClockRate(GHz): 1.425
pciBusID: 0000:01:00.0
2022-08-06 18:07:39.418168: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2022-08-06 18:07:39.418318: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0

img

2条回答 默认 最新

相关推荐 更多相似问题