The number of filters (ngf) won’t change the spatial size. You could remove a “conv transpose block” from your generator. The spatial sizes are explained in the code comments. If you just remove the last but one block, your code should work.
Unfortunately, I’m not sure what causes the mode collapse. Usually I just try different hyperparameters and hope it’s working.