I am following this document to implement DC GAN DCGAN Tutorial — PyTorch Tutorials 1.9.0+cu102 documentation
However, I am not using num_workers = 2. I am only using Default workers and device is cuda:0.
on training the generator and discriminators I am getting this error:
Here is the code line:
This last line is resulted in throwing this exception.
Please help me in solving this exception. Thank you in advance.