Skip to content

This repo implements jupyter notebooks that provide a minimal example for how to:

Notifications You must be signed in to change notification settings

blubs/stylegan2_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Image

This repo contains two jupyter notebooks that provide a minimal example for how one may interact with the official Stylegan2 TensorFlow implementation.

The work in this repo relies on and was based heavily on the following repos:

The jupyter notebooks include code that allows one to:

  • Convert any JPG or PNG image into their StyleGan2 latent representations
  • Modify the latent representations
  • Generate images from latent representations

Several precomputed "latent directions" are also made available. These latent directions are pulled from the following repo:

https://github.com/a312863063/generators-with-stylegan2

For example, This allows one to move a latent vector in the smile direction to increase an image's smile.

Latent Direction Image

For a complete list of latent directions available, see:

https://github.com/a312863063/generators-with-stylegan2/tree/master/latent_directions

About

This repo implements jupyter notebooks that provide a minimal example for how to:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published