Skip to content

This repository contains codes which re-implement StyleGAN in PyTorch and train StyleGAN for virtual landscape photographs.

License

Notifications You must be signed in to change notification settings

hejj16/Landscape-StyleGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StyleGAN for Landscape Photographs

⭐Generate your own landscape photos here!⭐

image

This repository contains codes which:

  • re-implement StyleGAN in PyTorch;
  • progressively train StyleGAN on landscape photos;
  • classify photos in the disentangled latent space;
  • display the results with Dash and deploy the model on Heroku platform.

Details

The StyleGAN models can be found in models directory. Implentmented tricks and features:

  • Progressive Training
  • PixelNorm Layers
  • Truncation Layers
  • Style Mixing
  • Loss with R1 Penalty
  • Gradient Clipping

The models are then trained using this notebook. After training, generated photos are classified by their time(day/night/dawn&dust) and weather(aurora or not) in the disentangled latent space using small neuron network in this notebook.

The codes for the web app can be found in the StyleGAN-Webpage directory.

References

About

This repository contains codes which re-implement StyleGAN in PyTorch and train StyleGAN for virtual landscape photographs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published