Hi. I have dual boot computer (Ubuntu 18 and Windows 10). Pytorch 1.1.0
I trained a pix2pixHD 3 network, and when I try to generate an image on CPU, I get very different performance. On Windows the processing is very slow.
Ubuntu 18:  2 seconds
Windows 10:  9 seconds
This is the code I am using to measure time, at this line:
xtime = datetime.datetime.now()
fake_image = self.netG.forward(input_concat)
ytime = datetime.datetime.now()
print(ytime - xtime)

What could cause the problem?
What can I try?
Thanks!