Closed daysm closed 4 years ago
Some algorithms did not work on CPU since they tried to create tensors on the GPU. For those tensors, I replaced .cuda() with .to(device).
.cuda()
.to(device)
Some algorithms did not work on CPU since they tried to create tensors on the GPU. For those tensors, I replaced
.cuda()
with.to(device)
.