input: torch.cuda.is_available()
output:
False
RuntimeError: 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.
solution: just RESTART your computer......
Maybe your problem is caused by other reasons, but just restart first...