How can I run DCGAN in my laptop(windows)?

I am a novice for Pytorch, and I am interested in GAN. I downloaded the DCGAN codes from https://github.com/pytorch/examples/tree/master/dcgan.
But I don’t know how to run it in spyder on my laptop?
How can I make it run correctly on my laptop?

Do you get an error running the script?
In spyder you can run the whole script using the run button (F5 if I’m not mistaken) or just mark some lines and run them using F9.