pip清华镜像加速安装tensorflow,pytorch


#直接在 pip install xxx 后加上 镜像源 即可,如: 
#安装tensorflow
pip install tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple

#安装pytorch
pip install --upgrade torch torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple
#限定版本
pip install torch==0.4.0 torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM