Papers › Deep Photo Style Transfer

Deep Photo Style Transfer

22 Mar 2017CVPR 2017 7arXiv:1703.07511archive 2025-07-28

Fujun Luan, Sylvain Paris, Eli Shechtman, Kavita Bala

This paper introduces a deep-learning approach to photographic style transfer that handles a large variety of image content while faithfully transferring the reference style. Our approach builds upon the recent work on painterly transfer that separates style from the content of an image by considering different layers of a neural network. However, as is, this approach is not suitable for photorealistic style transfer. Even when both the input and reference images are photographs, the output still exhibits distortions reminiscent of a painting. Our contribution is to constrain the transformation from the input to the output to be locally affine in colorspace, and to express this constraint as a custom fully differentiable energy term. We show that this approach successfully suppresses distortion and yields satisfying photorealistic style transfers in a broad variety of scenarios, including transfer of the time of day, weather, season, and artistic edits.

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

Code

Syntology Ran 9 of 24 code samples harvested from 7 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong.

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

21 repositories listed; official and paper-mentioned ones first.

luanfujun/deep-photo-styletransfer officialmentioned in papermentioned on GitHubtorch report
7-B/yoco mentioned on GitHubpytorchMIT report
KangDo96/Github-Ranking mentioned on GitHubtfMIT report
YooJiHyeong/SinIR mentioned on GitHubpytorch report
clovaai/WCT2 mentioned on GitHubpytorch report
divisionai/deep-photo-styletransfer mentioned on GitHubtorch report
fatihky/starred mentioned on GitHubtf report
johnsun03/myTest mentioned on GitHubtorch report
leolle/StyleTransfer mentioned on GitHubpytorchMIT report
mandarin4452/StyleTune mentioned on GitHubpytorch report
muriloime/awesome-stars mentioned on GitHubtf report
xuberance137/styleflow 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

24 samples harvested; 9 ran; 1 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 · honoured contract
1ran · violated contract
7ran · our draft was wrong
15unverified

Licence: 6 of the 24 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 7 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.

get_input_optimizer ritesh2212/DeepPhotoStyle_pytorch-master/neural_style.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 8f043783be05520d · report
get_input_optimizer IdanAzuri/pytorch_fewshot_with_deep_photo/neural_style.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 9269e2b72f0e2876 · report
get_palette 7-B/yoco/segmentation/evaluate.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 26664d79586aad5a · report
get_style_model_and_losses ritesh2212/DeepPhotoStyle_pytorch-master/neural_style.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 81173dfd88ec4a96 · report
get_style_model_and_losses IdanAzuri/pytorch_fewshot_with_deep_photo/neural_style.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 067c53092682afb5 · report
get_wav clovaai/WCT2/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 289a3baab5b57fbb · report
gram_matrix ritesh2212/DeepPhotoStyle_pytorch-master/neural_style.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · cda180904c38bf82 · report
gram_matrix 7-B/yoco/segmentation/torch_neural_style_transfer.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 1090950b58e9358b · report
is_image_file clovaai/WCT2/transfer.py community (archive-listed) ran · violated contract MIT (permissive) · 59848503040bbdac · report
bgr2rgb dedekinds/The-Color-Transfer-of-Animes-Characters-Images/photo_style.py community (archive-listed) unverified MIT (permissive) · 25645bb38ddc950c · report
getLaplacian dedekinds/The-Color-Transfer-of-Animes-Characters-Images/closed_form_matting.py community (archive-listed) unverified MIT (permissive) · db1f82381fe3492d · report
get_all_repos KangDo96/Github-Ranking/save_most_stars_forks.py community (archive-listed) unverified MIT (permissive) · 2ae68c5edc37dccd · report
get_api_repos KangDo96/Github-Ranking/save_most_stars_forks.py community (archive-listed) unverified MIT (permissive) · 9ecb8eaa36f40e46 · report
get_style_model_and_losses 7-B/yoco/segmentation/torch_neural_style_transfer.py community (archive-listed) unverified MIT (permissive) · a675446ddbbfbcc1 · report
getlaplacian1 dedekinds/The-Color-Transfer-of-Animes-Characters-Images/closed_form_matting.py community (archive-listed) unverified MIT (permissive) · 9ec5126d68c7d179 · report
image_loader 7-B/yoco/segmentation/torch_neural_style_transfer.py community (archive-listed) unverified MIT (permissive) · 2d24aafc6d216a66 · report
image_resize 7-B/yoco/convert.py community (archive-listed) unverified MIT (permissive) · 81841f6d779c16fc · report
image_resize 7-B/yoco/segmentation/merge_image.py community (archive-listed) unverified MIT (permissive) · 146ad565b06fda04 · report
imread xuberance137/styleflow/neural_style.py community (archive-listed) unverified no licence file found · pointer only · e9d9cfa5605ea1a3 · report
load_seg dedekinds/The-Color-Transfer-of-Animes-Characters-Images/photo_style.py community (archive-listed) unverified MIT (permissive) · 18c2e14d332c9062 · report
repo_to_df KangDo96/Github-Ranking/save_most_stars_forks.py community (archive-listed) unverified MIT (permissive) · 25b81f14a52435da · report
rgb2bgr dedekinds/The-Color-Transfer-of-Animes-Characters-Images/photo_style.py community (archive-listed) unverified MIT (permissive) · 887c76559ae8b99a · report
sketch 7-B/yoco/convert.py community (archive-listed) unverified MIT (permissive) · 8a715fc3d20336d9 · report
sobel 7-B/yoco/convert.py community (archive-listed) unverified MIT (permissive) · ffb0ca0a0f71ef50 · report

Tasks

Style Transfer

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