Windows10安装gpu版本的tensorflow|超精简有图仅要点|tensorflow-gpu

 版本要对应,推荐py37+tf21+cuda101+cudnn76

在cmd中使用命令来安装python3.7:

conda create -n py37 python=3.7 anaconda

conda info --envs

conda activate py37

  • cuda安装注意自定义去掉vs和nvidia experience选项
  • cudnn记得配置环境变量path
  • 检测
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
conda install tensorflow-gpu==2.1.0

 

测试一下:

pip install ai-benchmark

To run AI Benchmark, use the following code:

from ai_benchmark import AIBenchmark
benchmark = AIBenchmark()
results = benchmark.run()
nvidia-smi

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值