AssertionError: Torch not compiled with CUDA enabled
print(torch.cuda.is_available()) 是true情况下
查看pycharm所采用的torch版本
File-Settings --〉工程下面–〉python Interpreter右边 查找torch版本
AssertionError: Torch not compiled with CUDA enabled
print(torch.cuda.is_available()) 是true情况下
查看pycharm所采用的torch版本
File-Settings --〉工程下面–〉python Interpreter右边 查找torch版本