首先需要先创建anconda和安装cuda和cudnn这个我已经安装好了。
然后创建一个环境 conda create -n tens2.10.0 Python=2.10
进入环境 通过阿里云镜像去下载
pip install tensorflow-gpu=2.10.0 -i 阿里云网站
然后等待下载就OK了
最后进行判断
Python
import tensorflow as tf
进行Gpu检测
如果找不到那个64-8dll就在cudnn里面找到然后放到bin目录下
首先需要先创建anconda和安装cuda和cudnn这个我已经安装好了。
然后创建一个环境 conda create -n tens2.10.0 Python=2.10
进入环境 通过阿里云镜像去下载
pip install tensorflow-gpu=2.10.0 -i 阿里云网站
然后等待下载就OK了
最后进行判断
Python
import tensorflow as tf
进行Gpu检测
如果找不到那个64-8dll就在cudnn里面找到然后放到bin目录下