DCPDN
DCPDN copied to clipboard
run without cuda and GPU
when I run "python demo.py --dataroot ./facades/nat_new4 --valDataroot ./facades/nat_new4 --netG ./demo_model/netG_epoch_8.pth" without cuda and GPU,I get that: self.prev_idx = torch._C._cuda_getDevice() RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at torch/csrc/cuda/Module.cpp:51
If you want to run without cuda and GPU, please change the code to non-gpu version. For example, please remove xx.cuda() and make all the tensor and loss functions in cpu version.
Have you get the cpu version of this code?
Can you please help with the cpu version of this code?
Replace .cuda() with .to(device) or .cpu() in your code