Open ranka47 opened 5 years ago
Can you post the code section where you sent your too inputs to cuda? Because youa re sending two thing to ssim both as tensors but only one of them is in GPU the other not.
For future reference, the weights need to be sent to cuda device, or input needs to be on CPU
It is throwing this error. I have to convert both the variables to CPU to run which kills the speed of the computation. Can someone help out in resolving this?