linux下运行bat文件+torch注释有关报错

sudo chmod 777 test.bat
./test.bat

  The detected CUDA version (11.1) mismatches the version that was used to compile
  PyTorch (10.2). Please make sure to use the same CUDA versions.

可以参考这个直接把报错注释掉
https://blog.csdn.net/usingvc6/article/details/126174171
linux下运行bat文件+torch注释有关报错_第1张图片

你可能感兴趣的:(机器学习,linux,pytorch,运维)