microsoft / StyleSwin

[CVPR 2022] StyleSwin: Transformer-based GAN for High-resolution Image Generation
https://arxiv.org/abs/2112.10762
MIT License
503 stars 49 forks source link

Query: Samples in grid #32

Closed KomputerMaster64 closed 1 year ago

KomputerMaster64 commented 2 years ago

Thank you for the project. I wanted to know if one has saved the generated images in a directory, how to have them in a grid N*M dimensions for better analysis.

ForeverFancy commented 2 years ago

Hi, just modify the parameters in torchvision.utils.save_image to generate images in grid view. Thanks.