from torch._c import *

这个问题不要纠结,大概率是python3.6.0 安装torch1.2.0的时候报的,不要试图解决这个问题了,浪费时间还很难解决,直接换3.6.5(anaconda 5.2.0)

torch 1.2.0   链接:https://pan.baidu.com/s/19eLQ6rnsYf-VUKuMax_N3A   提取码:hqap 
torchvision 0.4.0  链接:https://pan.baidu.com/s/1XiIcPCXsc5vPHhinsnrLpw  提取码:z12q 

猜你喜欢

转载自blog.csdn.net/qq_20373723/article/details/108883893