I'm getting the following error, my server doesn't have a GPU, I've downloaded CPU-only Torch, but I still can't solve it, what should I do?
Traceback (most recent call last):
File "/home/haoq/PanPep-1.0.0-beta/PanPep.py", line 164, in
model = Memory_Meta(args, config).to(device)
File "/home/haoq/PanPep-1.0.0-beta/Requirements/Memory_meta.py", line 213, in init
self.models = torch.Tensor().cuda()
File "/home/haoq/anaconda3/envs/panpep/lib/python3.9/site-packages/torch/cuda/init.py", line 210, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Hi, thanks for your interest in our work. Deleting the .cuda() in line 213 may solve your problem. We are sorry for that our model can not adapt to the CPU version. We will update our model in the future.
I'm getting the following error, my server doesn't have a GPU, I've downloaded CPU-only Torch, but I still can't solve it, what should I do?
Traceback (most recent call last): File "/home/haoq/PanPep-1.0.0-beta/PanPep.py", line 164, in
model = Memory_Meta(args, config).to(device)
File "/home/haoq/PanPep-1.0.0-beta/Requirements/Memory_meta.py", line 213, in init
self.models = torch.Tensor().cuda()
File "/home/haoq/anaconda3/envs/panpep/lib/python3.9/site-packages/torch/cuda/init.py", line 210, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled