安装tensorflow时,如果使用直接安装速度相对较慢,采取清华大学的镜像会提高速度。
GPU版本:
pip install tensorflow-gpu==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple
CPU版本:
pip install tensorflow==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple
其他模块(numpy\mxnet):
pip install XXXX -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install XXXX==1.2.3.4 -i https://pypi.tuna.tsinghua.edu.cn/simple
本文介绍如何通过使用清华大学的镜像来加快TensorFlow的安装速度,包括GPU和CPU版本的安装命令,同时也提供其他模块如numpy、mxnet的安装方式。
&spm=1001.2101.3001.5002&articleId=106837472&d=1&t=3&u=b8fd5eba5d9c4f89bd8e360c7be66c0c)
1061

被折叠的 条评论
为什么被折叠?



