laraconda / stylegan-pytorch

Easy to read implementation of StyleGAN in Pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StyleGAN Pytorch

Easy to read and documented implementation of StyleGAN in Pytorch.

Requirements:

  • torch
  • torchvision
  • tensorboard
  • torchsummary

For documentation:

  • sphinx
  • numpydoc
  • sphinx-rtd-theme

Training

Run:

Before starting the training process, make sure the settings (found in src/settings.py) are correctly configured for your needs.

python src/training/train.py

Visualizing with tensorboard:

On a new terminal:

tensorboard --logdir=summaries/[summary-name]

Generate documentation

Inside the /doc folder:

make html

To delete the html files:

make clean

Important

This project only works with square images.

This is an implementation of StyleGAN 1.

Based on the works of:

About

Easy to read implementation of StyleGAN in Pytorch

License:MIT License


Languages

Language:Python 100.0%