pytorch报错:
CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero.
解决方案:
重新安装了cuda驱动和pytorch,问题解决,但是不知道为什么出现这样的错误,之前是可以用的,希望有经验的大佬给予指点。