Ubuntu报错NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver
英伟达驱动问题:AssertionError:CUDAunavailable,invaliddevice0requested$nvidia-smiNVIDIA-SMIhasfailedbecauseitcouldn’tcommunicatewiththeNVIDIAdriver.MakesurethatthelatestNVIDIAdriverisinstalledandrunning.解决方法: