win10+anaconda+RTX3070+tensorflow-gpu深度学习环境搭建

1、安装版本

Python 3.8.5

tf-nightly-gpu 2.5.0

Anaconda3-2020.11-Windows-x86_64

2、下载 Anaconda

Index of /anaconda/archive/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

3、 Anaconda Prompt中输入安装指令

conda create -n tensorflow-gpu python=3.8.5

activate tensorflow-gpu

conda install -c conda-forge cudnn

pip install tf-nightly-gpu 

国内镜像安装:

pip install tf-nightly-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple/
或者
pip install tensorflow-gpu==2.3.0 --default-timeout=10000 -i https://pypi.doubanio.com/simple

conda install scipy pillow

conda install jupyterlab

conda install scikit-learn

conda install matplotlib

conda install pandas(conda install openpyxl)

conda install -c conda-forge opencv

jupyter notebook

4、检测是否安装成功

import tensorflow as tf
print(tf.__version__)
tf.config.list_physical_devices()

win10+anaconda+RTX3070+tensorflow-gpu深度学习环境搭建_第1张图片

安装成功!

你可能感兴趣的:(实验配置,tensorflow)