Conditio ditional al Generati ative Adversa sarial al Networks works (cGANs Ns) conti tinued! nued!
- Prof. Leal-Taixé and Prof. Niessner
1
Conditio ditional al Generati ative Adversa sarial al - - PowerPoint PPT Presentation
Conditio ditional al Generati ative Adversa sarial al Networks works (cGANs Ns) conti tinued! nued! Prof. Leal-Taix and Prof. Niessner 1 Paired vs Unpair ired Settin ing Prof. Leal-Taix and Prof. Niessner 2 pix2pix ix: :
1
2
slides credit: Isola / Zhu
real or fake?
[Goodfellow et al. 2014] Discriminator
z G(z)
D
Generator
G
slides credit: Isola / Zhu
min
𝐻 max 𝐸
𝔽𝑨,𝑦 log 𝐸(𝐻 𝑨 ) + log(1 − 𝐸 𝑦 )
real or fake?
Discriminator
x G(x)
D
Generator
G min
𝐻 max 𝐸
𝔽𝑦,𝑧 log 𝐸(𝐻 𝑦 ) + log(1 − 𝐸 𝑧 )
slides credit: Isola / Zhu
Discriminator
x G(x)
D
Generator
G min
𝐻 max 𝐸
𝔽𝑦,𝑧 log 𝐸(𝐻 𝑦 ) + log(1 − 𝐸 𝑧 )
slides credit: Isola / Zhu
Discriminator
x G(x)
D
Generator
G
min
𝐻 max 𝐸
𝔽𝑦,𝑧 log 𝐸(𝐻 𝑦 ) + log(1 − 𝐸 𝑧 )
slides credit: Isola / Zhu
min
𝐻 max 𝐸
𝔽𝑦,𝑧 log 𝐸(𝑦, 𝐻 𝑦 ) + log(1 − 𝐸 𝑦, 𝑧 )
real or fake pair ? x G(x)
G D
match joint distribution p G x , y ∼ p(x, y)
fake pair real pair
slides credit: Isola / Zhu
9
10
Edges → Images
Input Output Input Output Input Output
Edges from [Xie & Tu, 2015]
slides credit: Isola / Zhu
Sketches → Images
Input Output Input Output Input Output
Trained on Edges → Images
Data from [Eitz, Hays, Alexa, 2012]
slides credit: Isola / Zhu
#edges2cats
[Christopher Hesse] Ivy Tasi @ivymyt @gods_tail @matthematician
https://affinelayer.com/pixsrv/
Vitaly Vidmirov @vvid
slides credit: Isola / Zhu
Input Output Groundtruth Data from [maps.google.com]
slides credit: Isola / Zhu
BW → Color
Input Output Input Output Input Output
Data from [Russakovsky et al. 2015]
slides credit: Isola / Zhu
– cGANs tend to learn to ignore the random vector z – Still want probabilistic model
16
– GAN discriminator applied only to local patches – It’s fully-convolutional; i.e., can run on arbitrary image sizes
17
receptive field
18
[Wang et al. 18]
19
[Wang et al. 18]
𝐻
max
𝐸1,𝐸2,𝐸3
𝑙=1,2,3𝑀𝐻𝐵𝑂 (𝐻, 𝐸𝑙)
discriminator and generator
– E.g., have a single G and downsample generated and real images – or have intermediate real images (cf. ProGAN)
20
[Wang et al. 18]
21
[Wang et al. 18]
22
[Wang et al. 18]
23
[Wang et al. 18]
scenarios. Label ↔ photo: per-pixel labeling
Horse ↔ zebra: how to get zebras?
slides credit: Isola / Zhu
slides credit: Isola / Zhu
x G(x)
Generator
G D
slides credit: Isola / Zhu
Discriminator
x G(x)
D
Generator
G
slides credit: Isola / Zhu
Discriminator
x G(x)
D
Generator
G
slides credit: Isola / Zhu
slides credit: Isola / Zhu
Cycle-Consistent Adversarial Networks
[Zhu*, Park*, Isola, and Efros, ICCV 2017]
slides credit: Isola / Zhu
Cycle-Consistent Adversarial Networks
[Mark Twain, 1903]
[Zhu*, Park*, Isola, and Efros, ICCV 2017]
slides credit: Isola / Zhu
G(x) F(G x ) x
F G x − x 1
[Zhu*, Park*, Isola, and Efros, ICCV 2017]
DY(G x )
Reconstruction error
slides credit: Isola / Zhu
G(x) F(G x ) x
F G x − x 1
Large cycle loss Small cycle loss
[Zhu*, Park*, Isola, and Efros, ICCV 2017]
DY(G x )
Reconstruction error
slides credit: Isola / Zhu
G(x) F(G x ) x F(y) G(F x ) 𝑧
F G x − x 1 G F y − 𝑧 1
[Zhu*, Park*, Isola, and Efros, ICCV 2017]
DY(G x )
Reconstruction error Reconstruction error
DG(F x )
slides credit: Isola / Zhu
https://junyanz.github.io/CycleGAN/ [Zhu et al. 17.]
35
36
Domain X Domain Y Cycle consistency Full Loss:
https://junyanz.github.io/CycleGAN/ [Zhu et al. 17.]
slides credit: Isola / Zhu
https://junyanz.github.io/CycleGAN/ [Zhu et al. 17.]
slides credit: Isola / Zhu
https://junyanz.github.io/CycleGAN/ [Zhu et al. 17.]
slides credit: Isola / Zhu
https://junyanz.github.io/CycleGAN/ [Zhu et al. 17.]
40
– Wed Feb 6th
th, 11:59pm
– Submission via moodle – Submission must contain
i.e., images and tables)
http://cvpr2019.thecvf.com/submission/main_conference/au thor_guidelines
41
– Friday Feb 8th
th, 1pm-3pm
– Location:
– Poster stands will be provided – You need to print posters yourself (poster@in.tum.de) – Hang posters 15 mins before presentation session starts
42
– https://ai.google/research/people/OriolVinyals – Time: Ja January 31st
st, 6pm – 8pm
– Location: HS-1 (CS building – the big one)
43
44
45