I run WGAN’s code

  
      
      GitHub
  
  
    

martinarjovsky/WassersteinGAN 91

Contribute to martinarjovsky/WassersteinGAN development by creating an account on GitHub.


  
  
    
    
  
  


I get this bug:
in the line 184
input.resize_as_(real_cpu).copy_(real_cpu)
TypeError: resize_as_ received an invalid combination of arguments - got (!torch.FloatTensor!), but expected (torch.cuda.FloatTensor template)
Is any body have the same problem? How to solve this?