StyleGAN.pytorch
maua-stylegan2
Our great sponsors
StyleGAN.pytorch | maua-stylegan2 | |
---|---|---|
1 | 2 | |
360 | 179 | |
- | - | |
10.0 | 0.0 | |
over 2 years ago | almost 3 years ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
StyleGAN.pytorch
-
I'm stumped with installing PyTorch.
I've still yet to try this one: https://github.com/huangzh13/StyleGAN.pytorch but at this point it might just be worth trying the Jupiter thingie. I sort of understand what it is.
maua-stylegan2
-
I'm stumped with installing PyTorch.
Originally I wanted to run https://github.com/JCBrouwer/maua-stylegan2. I was trying to run the convert_weight.py but it resulted in shape mismatch errors in torch torch.Size([1, 512, 4, 4]) vs torch.Size([1]), so I tried the version here https://github.com/rosinality/stylegan2-pytorch/blob/master/convert_weight.py and the result was the same.
-
Pretrained 1792x1024 StyleGAN2 model
You don't even need to really do model surgery. All the convolutions will accept arbitrary dimensions. You can just use network bending padding operations to get any output size you like Vadim Epstein's repo does something slightly different which let's you even use different latents per section: https://github.com/eps696/stylegan2ada Or mine which has the simpler, single latent version https://github.com/JCBrouwer/maua-stylegan2 Or for training, then all you have to do is change the size of your constant layer Or just graft on some more upsamples Either way though, there's not too much point to training at weird rectangular resolutions. You'll get pretty much identical results by just forcefully resizing to a square and then stretching the generated versions back out to square Unless you've got a ridiculous amount of VRAM, larger models don't really make too much sense either. Especially because it'll be hard to find 10k images at such a big resolution
What are some alternatives?
pix2pixHD - Synthesizing and manipulating 2048x1024 images with conditional GANs
stylegan2ada - StyleGAN2-ada for practice
gangealing - Official PyTorch Implementation of "GAN-Supervised Dense Visual Alignment" (CVPR 2022 Oral, Best Paper Finalist)
stylegan2-pytorch - Implementation of Analyzing and Improving the Image Quality of StyleGAN (StyleGAN 2) in PyTorch
Ghost-DeblurGAN - This is a lightweight GAN developed for real-time deblurring. The model has a super tiny size and a rapid inference time. The motivation is to boost marker detection in robotic applications, however, you may use it for other applications definitely.
stylegan2-surgery - StyleGAN2 fork with scripts and convenience modifications for creative media synthesis
ElasticFace - Official repository for ElasticFace: Elastic Margin Loss for Deep Face Recognition