Closed yichuan9527 closed 7 years ago
Hello! I run your WGAN's code. I get this bug input.resizeas(realcpu).copy(real_cpu) TypeError: resizeas received an invalid combination of arguments - got (!torch.FloatTensor!), but expected (torch.cuda.FloatTensor template) How to solve it?
This looks a lot like the issue which was just addressed by https://github.com/martinarjovsky/WassersteinGAN/pull/19 .
fixed via https://github.com/martinarjovsky/WassersteinGAN/pull/19
I solve this problem! Thank very much! It bother me a lot of time! Thanks again
Hello! I run your WGAN's code. I get this bug input.resizeas(realcpu).copy(real_cpu) TypeError: resizeas received an invalid combination of arguments - got (!torch.FloatTensor!), but expected (torch.cuda.FloatTensor template) How to solve it?