Semantic Image Synthesis with Spatially-Adaptive Normalization
About
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 .
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Semantic Image Synthesis | ADE20K | FID18.9 | 66 | |
| Semantic Image Synthesis | Cityscapes | FID51.98 | 54 | |
| Semantic Image Synthesis | ADE20K (val) | FID33.9 | 47 | |
| Semantic Image Synthesis | COCO Stuff (val) | FID22.6 | 42 | |
| Semantic Image Synthesis | COCO Stuff | FID22.6 | 40 | |
| Image-to-Image Translation | CelebA-HQ | FID31.5 | 28 | |
| Layout-to-Image Synthesis | Coco-Stuff (test) | -- | 25 | |
| Semantic Image Synthesis | CelebAMask-HQ | FID29.2 | 24 | |
| Layout-to-Image Generation | COCO Stuff | FID40.04 | 23 | |
| Semantic Image Synthesis | ADE20K (test) | FID33.9 | 20 |