I used the DCGAN model from GitHub and trained it with a custom dataset.
https://github.com/Natsu6767/DCGAN-PyTorch
I also disabled texture filtering to keep the generated icons crisp