net.cuda()
Traceback (most recent call last):
File “”, line 1, in 
File “E:\python\lib\site-packages\torch\nn\modules\module.py”, line 305, in cuda
return self._apply(lambda t: t.cuda(device))
File “E:\python\lib\site-packages\torch\nn\modules\module.py”, line 224, in _apply
param_applied = fn(param)
File “E:\python\lib\site-packages\torch\nn\modules\module.py”, line 305, in 
return self.apply(lambda t: t.cuda(device))
File "E:\python\lib\site-packages\torch\cuda_init.py", line 193, in _lazy_init
torch._C._cuda_init()
RuntimeError: generic_type: cannot initialize type “_CudaDeviceProperties”: an object with that name is already defined