AssertionError: Torch not compiled with CUDA enabled

我遇到的状况不是加个cpu就解决了,那个我会。python 此处是bash net = torch.nn.DataParallel(net.cuda()) File "D:\python\lib\site-packages\torch\nn\modules\module.py", line 305, in cuda return self._apply(lambda t: t.cuda(d
相关文章
相关标签/搜索