1.安装
去pytorch官网找cuda对应版本的pytorch进行安装pytorch官网
2.查看版本
python
import torch
print(torch.__version__) #注意是双下划线
3.卸载pytorch(两个命令都要执行)
1.conda uninstall pytorch
2.conda uninstall libtorch
ubuntu安装pytorch,卸载pytorch,查看版本
阅读 179
2022-03-11
1.安装
去pytorch官网找cuda对应版本的pytorch进行安装pytorch官网
2.查看版本
python
import torch
print(torch.__version__) #注意是双下划线
3.卸载pytorch(两个命令都要执行)
1.conda uninstall pytorch
2.conda uninstall libtorch
相关推荐
精彩评论(0)