[英]tensorflow cannot find GPU
I had install "tensorflow-GPU", CUDA 10.0.我已经安装了“tensorflow-GPU”,CUDA 10.0。 and my GPU is GTX1660 ti.而我的 GPU 是 GTX1660 ti。 I also tested bu CUDA 10.2 and 11. I added cudnn to windows PATH but I still got this error.我还测试了 bu CUDA 10.2 和 11。我将 cudnn 添加到 windows PATH 但我仍然收到此错误。
Traceback (most recent call last):
File "D:\Electrical And Programming office\6_AI\RL\5_Pong_DQN\pong_DGN.py", line 38, in <module>
gpu = tf.config.experimental.list_physical_devices('GPU')[0]
IndexError: list index out of range
>>> print(tf.test.is_built_with_cuda())
True
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.