在windows10下安装libtorch(pytorch1.0)

一 安装pytorch1.0

https://pytorch.org/get-started/locally/ 寻找自己需要得版本
在这里插入图片描述
在我环境下得命令是:

conda install pytorch torchvision cuda80 -c pytorch

顺带安装以下libtorch
在这里插入图片描述
命令是

Download here:
https://download.pytorch.org/libtorch/cu80/libtorch-win-shared-with-deps-latest.zip

猜你喜欢

转载自blog.csdn.net/adyf3/article/details/85003893