torchvision版本较低 pip install --upgrade torchvision 升级torchvision到 0.2.1 版本。 问题解决。 如果网速不好,可以再更新命令语句中添加清华镜像安装.