junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.95k stars 6.31k forks source link

Runing this repository in Windows? #947

Open K-M-Ibrahim-Khalilullah opened 4 years ago

K-M-Ibrahim-Khalilullah commented 4 years ago

@andyli @heaversm @junyanz I am training it in the Windows platform. it is OK in training except a little change! I changed the num_thread=0. When the num_thread=0, then it is training without error in Windows, otherwise it gives the following error:

ForkingPickler(file, protocol).dump(obj) BrokenPipeError: [Errno 32] Broken pipe

Is there any way to solve it? Will it reduce the accuracy or not for num_thread=0?

junyanz commented 4 years ago

The performance will not be affected. The data loading time might be slightly increased. There is a related issue that you may want to check out.