CPU版本:
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
GPU版本:
pip install tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
当然你可以选择版本,上面是最新版本
pip install tensorflow-gpu==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple
本文提供了在清华源上安装TensorFlow的详细步骤,包括CPU版本和GPU版本的安装命令,同时展示了如何指定特定版本进行安装。
3223





