stargan-v2
stargan-v2 copied to clipboard
How to change device of gpu
I used "device = torch.device('cuda:1') if torch.cuda.is_available() else torch.device('cpu') " but it's not work. Hope somebody can give me advice, thanks.