简体   繁体   English

使用 Anaconda 在 Windows 上安装 TensorFlow 2.2

[英]Install TensorFlow 2.2 on Windows with Anaconda

How do I install TensorFlow 2.2 with Nvidia Geforce GTX 1650 with Anoconda (on Windows 10)如何安装 TensorFlow 2.2 和 Nvidia Geforce GTX 1650 和 Anoconda(在 Windows 10 上)

I want to know whether this anaconda command will work instead of manually installing all the required files like CUDA toolkit , CUdnn and TensorRT (for TensorFlow version 2.2 GPU).我想知道这个 anaconda 命令是否可以工作,而不是手动安装所有必需的文件,如CUDA toolkitCUdnnTensorRT (对于 TensorFlow 版本)。

$conda create Test Tensorflow-gpu==2.1

$conda activate Test

$pip3 install Tensorflow-gpu==2.2

Note: I will manually download the GPU driver as recommended on tensorflow official website!注意:我会按照tensorflow官网的推荐手动下载GPU驱动!

I do pip3 install tensorflow-gpu (for version 2.2) because as per TensorFlows Official website both 2.1 & 2.2 use the same CUDA & cuDNN version.我做pip3 install tensorflow-gpu (for version 2.2) 因为根据 TensorFlows 官方网站,2.1 和 2.2 都使用相同的 CUDA 和 cuDNN 版本。

Right now it looks like Anaconda's highest version of Tensorflow is 2.1.现在看起来Anaconda的Tensorflow的最高版本是2.1。 If you want 2.2 you'll need to install tensorflow gpu, cuda, and cudnn manually.如果您想要 2.2,则需要手动安装 tensorflow gpu、cuda 和 cudnn。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM