升级pytorch即可
我的pytorch版本是:1.1.0,升级到pytorch1.1.2就好了
如何查看pytorch版本:
import torch
print(torch.__version__)
我用的是Anconda,通过conda来升级pytorch,一般用conda都会创建虚拟环境的。
conda update pytorch torchvision
慢慢等即可。
升级pytorch即可
我的pytorch版本是:1.1.0,升级到pytorch1.1.2就好了
如何查看pytorch版本:
import torch
print(torch.__version__)
我用的是Anconda,通过conda来升级pytorch,一般用conda都会创建虚拟环境的。
conda update pytorch torchvision
慢慢等即可。