pggan-pytorch icon indicating copy to clipboard operation
pggan-pytorch copied to clipboard

Questions about PyTorch version

Open wwq66 opened this issue 5 years ago • 3 comments

Why should the Pytorch version be 0.3 ? Problems occur when using PyTorch 0.3. What's more, .item() and with torch.no_grad(): should be used in version 0.4 and higher.

wwq66 avatar Nov 27 '19 03:11 wwq66

Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

habout632 avatar Dec 03 '19 04:12 habout632

problem occurs when loading data

habout632 avatar Dec 03 '19 04:12 habout632

Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

To resolve this: Change 'self.num_workers = 4' to 'self.num_workers = 0' at line 22 in dataloader.py

rajendrac3 avatar Jul 10 '20 06:07 rajendrac3