Progressive Growing/StyleGAN/StyleGAN2

转载自: https://www.notion.so/Progressive-Growing-StyleGAN-StyleGAN2-83859f6f47ba4a508375e4e4cf0efd05
教学视频: https://www.youtube.com/playlist?list=PLl6jkZVaP8zrWGBRTmcy_HeVfDq27oXML

参考文献:

Progressive Growing GAN

Picture: Two imaginary celebrities that were dreamed up by a random number generator.

在这里插入图片描述

Result Video

https://www.youtube.com/watch?v=G06dEcZ-QTg

More results

Main idea: Progressive Growth

The idea of multi resolution, multi-scale, pyramid, progressive itself is straightforward and not new.

For example LAPGAN back from 2015, SGAN 2016,

在这里插入图片描述

LAPGAN sampling

在这里插入图片描述

LAPGAN training

在这里插入图片描述

PGGAN

在这里插入图片描述

在这里插入图片描述

StyleGAN

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

AdaIN

在这里插入图片描述

In StyleGAN, y y y is computed from w w w instead of an example image.

在这里插入图片描述

Perceptual path length

Intend to measure how smooth the interpolation of latent vectors is.

The idea is to want the path length to be short in some perceptual space.

在这里插入图片描述

Truncation trick

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

StyleGAN2

https://www.youtube.com/watch?v=c-NJtV9Jvp0

Droplet-like artifacts→ alternative normalization

在这里插入图片描述

  • modulation: scaling the convolution weights instead of the features: w i j k ′ = s i ⋅ w i j k w'_{ijk}=s_i\cdot w_{ijk} wijk=siwijk
  • by assuming the input activations are i.i.d with unit standard deviation, after modulation an c convolution, the output have standard deviation of σ j = ∑ i , j w i j k ′ 2 \sigma_j=\sqrt{\sum_{i,j} {w'_{ijk} }^2} σj=i,jwijk2
  • so, demodulation: w i j k ′ ′ = w i j k ′ ∑ i , k w i j k ′ 2 + ϵ w''_{ijk} =\frac{w'_{ijk}}{\sqrt{\sum_{i,k}{w'_{ijk}}^2+\epsilon}} wijk′′=i,kwijk2+ϵ wijk
  • The style process can be baked into a convolution
  • a.k.a weight normalization
  • removes the artifacts, same FID.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Wq5QZ6Qw-1662378197995)(https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7a6860ff-7526-4c26-bcc9-942ccd989bd2/Untitled.png)]
在这里插入图片描述

Image quality and generator smoothness

在这里插入图片描述
在这里插入图片描述

The regularization

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-F4VEVU3D-1662378197995)(https://s3-us-west-2.amazonaws.com/secure.notion-static.com/70302f8d-e18c-4023-9da9-750b2de3b5e6/Untitled.png)]

Can compute efficiently with

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-bHzQPMXT-1662378197996)(https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f7f3376b-184a-44f9-80e3-d6cf32d3c12f/Untitled.png)]

  • a a a is set dynamically during optimization as the long running exponential moving average of the lengths ∥ J w y ∥ 2 \Vert \mathbf{J_wy}\Vert_2 Jwy2.
  • closely related to Jacobian clamping regularization.
  • Better FID than spectral normalization

Progressive growing revisited

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-WxZwHCkp-1662378197996)(https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5244ab26-037a-4f66-ba7b-929ae4506359/Untitled.png)]
在这里插入图片描述
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值