SCAM! Transferring humans between images with Semantic Cross Attention Modulation

Nicolas Dufour, David Picard, Vicky Kalogeiton
10/10/2022
cs.CVcs.AIcs.LG
transformer-attention

Official code: nicolas-dufour/SCAM (56 stars, Python, PyTorch, last commit 2022-11-08).

Abstract

A large body of recent work targets semantically conditioned image generation. Most such methods focus on the narrower task of pose transfer and ignore the more challenging task of subject transfer that consists in not only transferring the pose but also the appearance and background.

Show full abstract

In this work, we introduce SCAM (Semantic Cross Attention Modulation), a system that encodes rich and diverse information in each semantic region of the image (including foreground and background), thus achieving precise generation with emphasis on fine details. This is enabled by the Semantic Attention Transformer Encoder that extracts multiple latent vectors for each semantic region, and the corresponding generator that exploits these multiple latents by using semantic cross attention modulation. It is trained only using a reconstruction setup, while subject transfer is performed at test time. Our analysis shows that our proposed architecture is successful at encoding the diversity of appearance in each semantic region. Extensive experiments on the iDesigner and CelebAMask-HD datasets show that SCAM outperforms SEAN and SPADE; moreover, it sets the new state of the art on subject transfer.

View on arXivView PDF

Code Implementations(1)

PyTorch

Code for SCAM! Transferring humans between images with Semantic Cross Attention Modulation. Also contains implementation for SPADE, CLADE, SEAN and INADE

561PythonJul 18, 20224 years ago
computer-visiondeep-learningganpytorchsemantic

Similar Papers

Cite this paper

@article{dufour2022scam,
  title  = {SCAM! Transferring humans between images with Semantic Cross Attention Modulation},
  author = {Nicolas Dufour and David Picard and Vicky Kalogeiton},
  year   = {2022},
  eprint = {2210.04883},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04883}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.04883.svg)](https://codeofpaper.com/paper/2210.04883)

Discussion