Tensorflow2 安装 配置 gpu 版本

一、安装tensorflow2.1(默认GPU版本)

1.安装cunda 10.1(要提前更新驱动)

2.安装cuDNN 7.6

3.用anaconda3 (python3.7)新建tensorflow环境。激活tensorflow环境后,在环境中安装tensorflow 2.1。 为了提速,使用清华镜像下载(pip install -U tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple)。安装完成后,在Python环境中导入tensorflow, 测试是否安装成功。

参考链接:

https://blog.csdn.net/xiakejiang/article/details/82720815

https://blog.csdn.net/weixin_44170512/article/details/103990592

https://blog.csdn.net/weixin_42815323/article/details/84063006

https://www.cnblogs.com/ziyu-trip/p/12663978.html

https://www.pianshen.com/article/20881094040/

https://www.cnblogs.com/ncuhwxiong/p/9836648.html

https://www.cnblogs.com/ncuhwxiong/p/9774515.html

https://www.cnblogs.com/YSPXIZHEN/p/11416843.html

Tensorflow2 安装 配置 gpu 版本_第1张图片

Tensorflow2 安装 配置 gpu 版本_第2张图片

Tensorflow2 安装 配置 gpu 版本_第3张图片

Tensorflow2 安装 配置 gpu 版本_第4张图片

你可能感兴趣的:(python)