NVIDIA's StyleGAN2 on Google Colab

Опубликовано: 12 Март 2026
на канале: Alien AI
3,331
69

StyleGAN2
This video demonstrates how to run NVIDIA's StyleGAN2 on Google Colab.
Make sure to specify a GPU runtime.
Code in video https://github.com/seraj94ai/stylegan...
For information on StyleGAN2, see:

Paper: https://arxiv.org/abs/1812.04948
Video:    • A Style-Based Generator Architecture for G...  
Code: https://github.com/NVlabs/stylegan

Choose between these pretrained models - I think 'f' is the best choice:
1024×1024 faces
stylegan2-ffhq-config-a.pkl
stylegan2-ffhq-config-b.pkl
stylegan2-ffhq-config-c.pkl
stylegan2-ffhq-config-d.pkl
stylegan2-ffhq-config-e.pkl
stylegan2-ffhq-config-f.pkl

512×384 cars
stylegan2-car-config-a.pkl
stylegan2-car-config-b.pkl
stylegan2-car-config-c.pkl
stylegan2-car-config-d.pkl
stylegan2-car-config-e.pkl
stylegan2-car-config-f.pkl

256x256 horses
stylegan2-horse-config-a.pkl
stylegan2-horse-config-f.pkl

256x256 churches
stylegan2-church-config-a.pkl
stylegan2-church-config-f.pkl

256x256 cats
stylegan2-cat-config-f.pkl
stylegan2-cat-config-a.pkl