All Projects → SunnerLi → StyleGAN_demo

SunnerLi / StyleGAN_demo

Licence: other
The re-implementation of style-based generator idea

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to StyleGAN demo

tf-adain
TensorFlow implementation of the paper "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization" by Xun Huang and Serge Belongie
Stars: ✭ 61 (+177.27%)
Mutual labels:  style-transfer, adain
Domain-Aware-Style-Transfer
Official Implementation of Domain-Aware Universal Style Transfer
Stars: ✭ 84 (+281.82%)
Mutual labels:  style-transfer
Faststyle
Tensorflow implementation of fast neural style transfer.
Stars: ✭ 170 (+672.73%)
Mutual labels:  style-transfer
mlmodelzoo
Build your iOS 11+ apps with the ready-to-use Core ML models below
Stars: ✭ 17 (-22.73%)
Mutual labels:  style-transfer
Cyclegan Music Style Transfer
Symbolic Music Genre Transfer with CycleGAN
Stars: ✭ 201 (+813.64%)
Mutual labels:  style-transfer
MeuralPaint
TensorFlow implementation of CNN fast neural style transfer ⚡️ 🎨 🌌
Stars: ✭ 19 (-13.64%)
Mutual labels:  style-transfer
Cartoonify
Deploy and scale serverless machine learning app - in 4 steps.
Stars: ✭ 157 (+613.64%)
Mutual labels:  style-transfer
StyleCLIPDraw
Styled text-to-drawing synthesis method. Featured at IJCAI 2022 and the 2021 NeurIPS Workshop on Machine Learning for Creativity and Design
Stars: ✭ 247 (+1022.73%)
Mutual labels:  style-transfer
Joint-Bilateral-Learning
An unofficial implementation of Joint Bilateral Learning for Real-time Universal photorealistic Style Transfer
Stars: ✭ 52 (+136.36%)
Mutual labels:  style-transfer
ArtsyNetworks
Deep Learning + Arts
Stars: ✭ 24 (+9.09%)
Mutual labels:  style-transfer
MIDI-VAE
No description or website provided.
Stars: ✭ 56 (+154.55%)
Mutual labels:  style-transfer
Style transfer
CNN image style transfer 🎨.
Stars: ✭ 210 (+854.55%)
Mutual labels:  style-transfer
transformer-drg-style-transfer
This repository have scripts and Jupyter-notebooks to perform all the different steps involved in Transforming Delete, Retrieve, Generate Approach for Controlled Text Style Transfer
Stars: ✭ 97 (+340.91%)
Mutual labels:  style-transfer
Vincent Ai Artist
Style transfer using deep convolutional neural nets
Stars: ✭ 176 (+700%)
Mutual labels:  style-transfer
Face-Sketch
Face Sketch Synthesis with Style Transfer using Pyramid Column Feature, WACV2018
Stars: ✭ 52 (+136.36%)
Mutual labels:  style-transfer
Dst
Deformable Style Transfer (ECCV 2020)
Stars: ✭ 167 (+659.09%)
Mutual labels:  style-transfer
Tensorflow Fast Style Transfer
A simple, concise tensorflow implementation of fast style transfer
Stars: ✭ 224 (+918.18%)
Mutual labels:  style-transfer
Neural-Tile
A better tiling script for Neural-Style
Stars: ✭ 35 (+59.09%)
Mutual labels:  style-transfer
style swap tensorflow
tensorflow code for Fast Patch-based Style Transfer of Arbitrary Style
Stars: ✭ 42 (+90.91%)
Mutual labels:  style-transfer
style-transfer-video-processor
This code extends the neural style transfer image processing technique to video by generating smooth transitions between several reference style images
Stars: ✭ 113 (+413.64%)
Mutual labels:  style-transfer

StyleGAN_demo

Packagist Packagist

Abstract

This repository try to re-implement the idea of style-based generator. You should notice this is not the official implementation. We train the model only toward CelebA dataset. Furthermore, we also train the traditional GAN to do the comparison. The total training epoch is 250.

Difference

There are several difference between the paper and this implementation:

  1. We only train for the size of 128 * 128.
  2. The progressive training mechanism is not adopted.

Usage

We also provide the pre-trained model here!!!!!

# Train the traditional generator
$ python3 train.py --epoch 250 --type origin --resume origin_result/models/latest.pth --det origin_result_250_epoch

# Train the style-based generator
$ python3 train.py --epoch 250 --type style --resume style_result/models/latest.pth --det style_result_250_epoch

# Generate 32 faces with traditional generator
$ python3 inference.py --type origin --resume origin_result_250_epoch/models/latest.pth --num_face 32 

# Generate 64 faces with style-based generator
$ python3 inference.py --type style --resume style_result_250_epoch/models/latest.pth --num_face 64 

Discussion

Compare to the traditional design, the style-based generator hard to converge. The above image shows the render result which conditioning on the fixed latent representation. From left to right, the result of traditional GAN has little change, but the style-based generator has lots of change. Maybe adding noice within each intermediate layer can indeed increase the diversity of the style. On the other hand, the quality of style-based generator is low still.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].