Thank you for the response! Yes, I have looked at other examples of DCGAN. My goal isn’t to implement a DCGAN but rather implement a DCGAN that I previous implemented in TensorFlow in order to help me better understand PyTorch. My question is why the model doesn’t work when it works in TensorFlow? It is probably some PyTorch convention that I missed that doesn’t exist in TensorFlow.
Also, here are some examples of generated images after training it for a couple of seconds

It appears that the model is already suffering mode collapse.
How could this be if it was working perfectly on TensorFlow?