Semantic Image Synthesis with Spatially-Adaptive Normalization
Taesung Park, Ming-Yu Liu, Ting-Chun Wang, Jun-Yan Zhu
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/NVlabs/SPADEOfficialIn paperpytorch★ 0
- github.com/mindslab-ai/hififacepytorch★ 383
- github.com/tamarott/ASAPNetpytorch★ 126
- github.com/Cold-Winter/BachGANpytorch★ 62
- github.com/valeoai/SemanticPalettepytorch★ 30
- github.com/Dominioncher/smart-sketchpytorch★ 0
- github.com/code-implementation1/Code8/tree/main/SPADEmindspore★ 0
- github.com/shaoanlu/fewshot-face-translation-GANtf★ 0
- github.com/manicman1999/StyleGAN-Kerasnone★ 0
- github.com/2023-MindSpore-4/Code11/tree/main/SPADEmindspore★ 0
Abstract
We propose spatially-adaptive normalization, a simple but effective layer for synthesizing photorealistic images given an input semantic layout. Previous methods directly feed the semantic layout as input to the deep network, which is then processed through stacks of convolution, normalization, and nonlinearity layers. We show that this is suboptimal as the normalization layers tend to ``wash away'' semantic information. To address the issue, we propose using the input layout for modulating the activations in normalization layers through a spatially-adaptive, learned transformation. Experiments on several challenging datasets demonstrate the advantage of the proposed method over existing approaches, regarding both visual fidelity and alignment with input layouts. Finally, our model allows user control over both semantic and style. Code is available at https://github.com/NVlabs/SPADE .
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| ADE20K Labels-to-Photos | SPADE | mIoU | 38.5 | — | Unverified |
| ADE20K-Outdoor Labels-to-Photos | SPADE | mIoU | 30.8 | — | Unverified |
| Cityscapes Labels-to-Photo | SPADE | mIoU | 62.3 | — | Unverified |
| COCO-Stuff Labels-to-Photos | SPADE | FID | 22.6 | — | Unverified |