Skip to content
项目

manicman1999/StyleGAN2-Tensorflow-2.0

在 GitHub 查看

关于

基于 TensorFlow 2.0 的 StyleGAN 2。

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

StyleGAN2 Tensorflow 2.0

Unofficial implementation of StyleGAN 2 using TensorFlow 2.0. (Compatible with up to 2.5)

Original paper: Analyzing and Improving the Image Quality of StyleGAN

Arxiv: https://arxiv.org/abs/1912.04958

This implementation includes all improvements from StyleGAN to StyleGAN2, including:

Modulated/Demodulated Convolution, Skip block Generator, ResNet Discriminator, No Growth,

Lazy Regularization, Path Length Regularization, and can include larger networks (by adjusting the cha variable).

Image Samples

Trained on Landscapes for 3.48 million images (290k steps, batch size 12, channel coefficient 24): To clarify, 3.48 million images were shown to the Discriminator, but the dataset consists of only ~14k images. Thus, of those 3.48 million images, most are repeats of already seen images.

Teaser image

Mixing Styles:

Teaser image

Before Running

Please ensure you have created the following folders:

  1. /Models/
  2. /Results/
  3. /data/

Additionally, please ensure that your folder with images is in /data/ and changed at the top of stylegan.py.

For pretrained models, download the pretrained models from here

Then, adjust the main code at the bottom to use model.load(model_num), where model_num = the number from the downloaded model.

探索相关项目

加载中…