Skip to content

This is a styleGAN that can be run independently without the need for python or tensrflow.

License

Notifications You must be signed in to change notification settings

Sanaxen/stylegan_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylegan_app

GUI application

It can run on windows 10

You don't need python and tensorflow.

I am using this one: https://github.com/podgorskiy/StyleGANCpp
Excellent!I've made StyleGANCpp a little easier to use.

Overwrite the main.cpp in this repository with the main.cpp in StyleGANCpp and build it.

How to build

Use cmake

If you are using Windows 10, you can build without cmake, but you will need visual studio 2019.
StyleGANCpp/build/stylegan.sln


  • Generate various faces by changing the seed
.\bin\stylegan.exe --seed 841

  • Generate various faces by changing the psi
.\bin\stylegan.exe --seed 841 --psi 0.3

  • Smoothly move through psi

.\bin\stylegan.exe --seed 841 --smooth_psi 1 --num 10

  • Randomly generate faces.

.\bin\stylegan.exe --random_seed 1 --num 30

  • Smoothly change latent variables (face 1 to face 2)
.\bin\stylegan.exe --seed 841 --smooth_z 1 --seed 5 --seed2 841 --num 20