Papers › STGAN: A Unified Selective Transfer Network for Arbitrary Image Attribute Editing

STGAN: A Unified Selective Transfer Network for Arbitrary Image Attribute Editing

22 Apr 2019CVPR 2019 6arXiv:1904.09709archive 2025-07-28

Ming Liu, Yukang Ding, Min Xia, Xiao Liu, Errui Ding, WangMeng Zuo, Shilei Wen

Arbitrary attribute editing generally can be tackled by incorporating encoder-decoder and generative adversarial networks. However, the bottleneck layer in encoder-decoder usually gives rise to blurry and low quality editing result. And adding skip connections improves image quality at the cost of weakened attribute manipulation ability. Moreover, existing methods exploit target attribute vector to guide the flexible translation to desired target domain. In this work, we suggest to address these issues from selective transfer perspective. Considering that specific editing task is certainly only related to the changed attributes instead of all target attributes, our model selectively takes the difference between target and source attribute vectors as input. Furthermore, selective transfer units are incorporated with encoder-decoder to adaptively select and modify encoder feature for enhanced attribute editing. Experiments show that our method (i.e., STGAN) simultaneously improves attribute manipulation accuracy as well as perception quality, and performs favorably against state-of-the-arts in arbitrary facial attribute editing and season translation.

PaperPDFConference PDFCodeCode 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="1904.09709")

Code

Syntology Ran 1 of 16 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 15 samples from 1 repository, 0 ran; community (archive-listed): 1 sample from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

csmliu/STGAN officialmentioned in papermentioned on GitHubtfMIT report
bluestyle97/STGAN-pytorch mentioned 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

16 samples harvested; 1 ran; 0 honoured the contract we drafted; 15 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
15unverified

Licence: 0 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

batch_dataset csmliu/STGAN/data.py official repository unverified MIT (permissive) · 0a0336a57f58f757 · report
disk_image_batch_dataset csmliu/STGAN/data.py official repository unverified MIT (permissive) · 15c6278f3120b450 · report
float2im csmliu/STGAN/imlib/dtype.py official repository unverified MIT (permissive) · 4f277a0259d52125 · report
gray2rgb csmliu/STGAN/imlib/transform.py official repository unverified MIT (permissive) · 63a3d304071b7858 · report
imdecode csmliu/STGAN/imlib/encode.py official repository unverified MIT (permissive) · a156a0a0c281bb37 · report
imencode csmliu/STGAN/imlib/encode.py official repository unverified MIT (permissive) · bf6d096b9db2c499 · report
imread csmliu/STGAN/imlib/basic.py official repository unverified MIT (permissive) · b50105e0a61b2c28 · report
imresize csmliu/STGAN/imlib/transform.py official repository unverified MIT (permissive) · bc12329c875db868 · report
imwrite csmliu/STGAN/imlib/basic.py official repository unverified MIT (permissive) · a7aec6c9071c5edd · report
rgb2gray csmliu/STGAN/imlib/transform.py official repository unverified MIT (permissive) · fe032a1a678b491f · report
session csmliu/STGAN/tflib/utils.py official repository unverified MIT (permissive) · 5aaee13c67987c61 · report
shape csmliu/STGAN/tflib/utils.py official repository unverified MIT (permissive) · 554e9812968047de · report
summary csmliu/STGAN/tflib/utils.py official repository unverified MIT (permissive) · c97c0ccc10798ca5 · report
to_range csmliu/STGAN/imlib/dtype.py official repository unverified MIT (permissive) · 06abdda251d33eb6 · report
uint2im csmliu/STGAN/imlib/dtype.py official repository unverified MIT (permissive) · 8d6a574072fa743d · report
get_input_name JoegameZhou/STGAN/infer_stgan_onnx.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 66ec4e6fc17b9c98 · report

Tasks

AttributeDecoderTranslation

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