安装pytorch
进入pytorch官网,根据自己需要设定选项,官网地址为https://pytorch.org/get-started/locally/#mac-anaconda。
若使用清华镜像,可实现下列命令:
pip install torch=1.4.0 torchvision=0.5.0 -f https://download.pytorch.org/whl/torch_stable.html -i https://pypi.tuna.tsinghua.edu.cn/simple
本文详细介绍了如何在本地环境中安装PyTorch,包括通过官方网站选择适合的配置进行安装,以及如何利用清华镜像加速下载过程。
1881

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



