A GAN model in PyTorch does not learn

Double post from here.