Papers › EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer

EleGANt: Exquisite and Locally Editable GAN for Makeup Transfer

20 Jul 2022arXiv:2207.09840archive 2025-07-28

Chenyu Yang, Wanrong He, Yingqing Xu, Yang Gao

Most existing methods view makeup transfer as transferring color distributions of different facial regions and ignore details such as eye shadows and blushes. Besides, they only achieve controllable transfer within predefined fixed regions. This paper emphasizes the transfer of makeup details and steps towards more flexible controls. To this end, we propose Exquisite and locally editable GAN for makeup transfer (EleGANt). It encodes facial attributes into pyramidal feature maps to preserves high-frequency information. It uses attention to extract makeup features from the reference and adapt them to the source face, and we introduce a novel Sow-Attention Module that applies attention within shifted overlapped windows to reduce the computational cost. Moreover, EleGANt is the first to achieve customized local editing within arbitrary areas by corresponding editing on the feature maps. Extensive experiments demonstrate that EleGANt generates realistic makeup faces with exquisite details and achieves state-of-the-art performance. The code is available at https://github.com/Chenyu-Yang-2000/EleGANt.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.09840")

Code

Syntology Ran 17 of 19 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 5 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: official repository: 18 samples from 1 repository, 16 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chenyu-yang-2000/elegant officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 17 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
5ran · fixture could not drive it
11ran
2unverified

Licence: 19 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Chenyu-Yang-2000/EleGANt. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Attention_apply Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · c8b1c6dc5774265b · report
Downsample Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · 24e2b7616e3ae391 · report
FeedForwardLayer Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · fc1b7b4a34850fb4 · report
Generator Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · b60eab7b9ad9bb8f · report
MultiheadAttention Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 153bf0a3c6aaf0ac · report
MultiheadAttention_value Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 3b3ed0c6e7b58bfd · report
MultiheadAttention_weight Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran licence not identified · pointer only · c115eefaada32113 · report
PositionalEmbedding Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · 0d8a48a224db0d6c · report
ResidualBlock_IN Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · b7c38f3e7c4de550 · report
Upsample Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 42e52235c85aff07 · report
WindowAttention Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · metamorphic tier: deterministic licence not identified · pointer only · 43b762f90950f0d2 · report
build_target_coordinate_matrix Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · our draft was wrong licence not identified · pointer only · 2c814f1990af24d7 · report
bulid_delta_inverse Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · fixture could not drive it licence not identified · pointer only · 78dfbe2c8f31243b · report
grid_sample Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · fixture could not drive it licence not identified · pointer only · 1fc0288d55de52e2 · report
tps_sampler Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · fixture could not drive it licence not identified · pointer only · 595b400a32b3e370 · report
tps_spatial_transform Chenyu-Yang-2000/EleGANt/models/elegant.py official repository ran · fixture could not drive it licence not identified · pointer only · 000fecba9c78bdcd · report
MergeBlock Chenyu-Yang-2000/EleGANt/models/elegant.py official repository unverified licence not identified · pointer only · 083fb0ce640033ab · report
SowAttention Chenyu-Yang-2000/EleGANt/models/elegant.py official repository unverified licence not identified · pointer only · 96ed265e9f635b1d · report
compute_partial_repr identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · e1814689377a5c82 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections