SwapNet icon indicating copy to clipboard operation
SwapNet copied to clipboard

Update loss.py

Open Luccifer opened this issue 2 years ago • 0 comments

Fixed an issue of RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! According to the https://github.com/andrewjong/SwapNet/issues/47 - the issue still exists. Managed to run it with a little fix

Luccifer avatar Dec 05 '22 09:12 Luccifer