Papers › A Closed-form Solution to Photorealistic Image Stylization

A Closed-form Solution to Photorealistic Image Stylization

19 Feb 2018ECCV 2018 9arXiv:1802.06474archive 2025-07-28

Yijun Li, Ming-Yu Liu, Xueting Li, Ming-Hsuan Yang, Jan Kautz

Photorealistic image stylization concerns transferring style of a reference photo to a content photo with the constraint that the stylized photo should remain photorealistic. While several photorealistic image stylization methods exist, they tend to generate spatially inconsistent stylizations with noticeable artifacts. In this paper, we propose a method to address these issues. The proposed method consists of a stylization step and a smoothing step. While the stylization step transfers the style of the reference photo to the content photo, the smoothing step ensures spatially consistent stylizations. Each of the steps has a closed-form solution and can be computed efficiently. We conduct extensive experimental validations. The results show that the proposed method generates photorealistic stylization outputs that are more preferred by human subjects as compared to those by the competing methods while running much faster. Source code and additional results are available at https://github.com/NVIDIA/FastPhotoStyle .

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="1802.06474")

Code

Syntology Ran 10 of 16 code samples harvested from 3 repositories linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: community (archive-listed): 14 samples from 3 repositories, 8 ran; 2 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.

NVIDIA/FastPhotoStyle officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
Lees001/FastPhotoStyle mentioned on GitHubpytorchNOASSERTION report
MohdDanish/FastPhotoStyle1 mentioned on GitHubpytorch report
clovaai/WCT2 mentioned on GitHubpytorch report
deepdeepdot/FastPhotoStyle mentioned on GitHubpytorchNOASSERTION report
freedombenLiu/FastPhotoStyle mentioned on GitHubpytorchNOASSERTION report
guizilaile23/ZSL-SSS mentioned on GitHubpytorch report
midm/FastPhotoStyle mentioned on GitHubpytorchNOASSERTION report
sleebapaul/AuriaKathi mentioned on GitHubpytorchMIT report
svjack/PhotoWCT mentioned on GitHubtf 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; 10 ran; 1 honoured the contract we drafted; 6 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 · honoured contract
1ran · violated contract
7ran · our draft was wrong
1ran · fixture could not drive it
6unverified

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

conv1x1 sleebapaul/AuriaKathi/AttnGAN/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 19379807ba70daaa · report
conv3x3 sleebapaul/AuriaKathi/AttnGAN/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · ea864de5c552bc4a · report
cosine_similarity sleebapaul/AuriaKathi/AttnGAN/miscc/losses.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · e0c14774d8283a63 · report
get_rank clovaai/WCT2/utils/core.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 3f416806a9d75fdf · report
get_squeeze_feat clovaai/WCT2/utils/core.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · ca190ac7aa0a7723 · report
memory_limit_image_resize MohdDanish/FastPhotoStyle1/process_stylization.py community (archive-listed) ran · our draft was wrong licence not identified · pointer only · 115cdf07bf34f7ed · report
svd clovaai/WCT2/utils/core.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · de40dd53e9e39e11 · report
upBlock sleebapaul/AuriaKathi/AttnGAN/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · c96308e17ab1e7ae · report
conv1x1 sleebapaul/AuriaKathi/AttnGAN/GlobalAttention.py community (archive-listed) unverified MIT (permissive) · 1e9b9a9b96ddfe5f · report
func_attention sleebapaul/AuriaKathi/AttnGAN/GlobalAttention.py community (archive-listed) unverified MIT (permissive) · 4dcdc9386ef6f6f5 · report
gen_example_from_text sleebapaul/AuriaKathi/AttnGAN/gen_art.py community (archive-listed) unverified MIT (permissive) · 56624aa2366aca04 · report
get_encoder sleebapaul/AuriaKathi/GPT_2_Finetuning/gpt_2_simple/encoder.py community (archive-listed) unverified MIT (permissive) · f07cfbd0acf91fbe · report
get_pairs sleebapaul/AuriaKathi/GPT_2_Finetuning/gpt_2_simple/encoder.py community (archive-listed) unverified MIT (permissive) · 4f76173dfe4b0c11 · report
start_tf_sess sleebapaul/AuriaKathi/GPT_2_Finetuning/gpt_2.py community (archive-listed) unverified MIT (permissive) · dd07c72f922bc1e8 · report
get_wav identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 289a3baab5b57fbb · report
is_image_file identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · 59848503040bbdac · report

Tasks

FormImage Stylization

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