Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 2.05 KB

README.md

File metadata and controls

50 lines (27 loc) · 2.05 KB

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