undefined symbol:__cuda…… 解决方法: ①在出错文件夹下添加make.sh文件 ②保证编译pytorch的cuda版本与系统的cuda版本一致 (例如:pytorch0.3.1对应Torchvision0.2.1对应cuda8.0)