Papers › Perceptual Losses for Real-Time Style Transfer and Super-Resolution

Perceptual Losses for Real-Time Style Transfer and Super-Resolution

27 Mar 2016arXiv:1603.08155archive 2025-07-28

Justin Johnson, Alexandre Alahi, Li Fei-Fei

We consider image transformation problems, where an input image is transformed into an output image. Recent methods for such problems typically train feed-forward convolutional neural networks using a \emph{per-pixel} loss between the output and ground-truth images. Parallel work has shown that high-quality images can be generated by defining and optimizing \emph{perceptual} loss functions based on high-level features extracted from pretrained networks. We combine the benefits of both approaches, and propose the use of perceptual loss functions for training feed-forward networks for image transformation tasks. We show results on image style transfer, where a feed-forward network is trained to solve the optimization problem proposed by Gatys et al in real-time. Compared to the optimization-based method, our network gives similar qualitative results but is three orders of magnitude faster. We also experiment with single-image super-resolution, where replacing a per-pixel loss with a perceptual loss gives visually pleasing results.

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

Code

Syntology Ran 13 of 46 code samples harvested from 10 repositories linked to this paper; 33 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: community (archive-listed): 45 samples from 10 repositories, 12 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.

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

Akella17/Voice_Style_Transfer mentioned on GitHubtf report
Alina9/Style-transfer mentioned on GitHubpytorch report
AloneGu/keras_tf_neural_img mentioned on GitHubtfMIT report
AtharvBhat/Plus-Ultra mentioned on GitHubpytorchMIT report
CYetlanezi/Proyecto-Opti mentioned on GitHubtf report
Chad4545/styletransfer mentioned on GitHubpytorch report
Divsigma/2020-cs213n mentioned on GitHubtf report
DmitryUlyanov/texture_nets mentioned on GitHubtorchApache-2.0 report
ErikFaustmann/styletransfer mentioned on GitHubtf report
FeliMe/multimodal_style_transfer mentioned on GitHubpytorch report
Josien94/MLiP mentioned on GitHubtf report
MartinBuessemeyer/Artistic-Texture-Control mentioned on GitHubpytorchMIT report
PetruninAlex/Sketch2Real mentioned on GitHubpytorch report
TanguyJeanneau/white-mirror mentioned on GitHubpytorch report
Tee0125/pytorch-fast-style-transfer mentioned on GitHubpytorch report
ZyoungXu/MoSt-DSA mentioned on GitHubpytorchApache-2.0 report
abhiskk/fast-neural-style mentioned on GitHubpytorchMIT report
aijialin/style_transfer mentioned on GitHubtf report
alexjc/neural-enhance mentioned on GitHub report
amazingyyc/Brouhaha mentioned on GitHubtfBSD-2-Clause report
anhkhoa039/Neural-Style-Transfer mentioned on GitHubpaddle report
anjalipemmaraju/styletransfernetwork mentioned on GitHubpytorch report
aryan-mann/style-transfer mentioned on GitHub report
ashkanpakzad/atn mentioned on GitHubpytorchGPL-3.0 report
asraman9792/Image-Dehazing-GANS mentioned on GitHubtf report
brightyoun/Video-Style-Transfer mentioned on GitHubpytorchMIT report
buddly27/stylish mentioned on GitHub report
christiankellernc/styletransfer mentioned on GitHubtfMIT report
chuanli11/MGANs mentioned on GitHubtorchMIT report
dkoleber/multi_style_transfer mentioned on GitHubtf report
dxyang/styletransfer mentioned on GitHubpytorch report
etttttte/mayfest2018 mentioned on GitHubpytorch report
gordicaleksa/pytorch-nst-feedforward mentioned on GitHubpytorchMIT report
habout632/gans mentioned on GitHubpytorchMIT report
jayChung0302/DeepFilter mentioned on GitHubpytorchMIT report
ksivaman/super-res mentioned on GitHubpytorch report
kvsnoufal/neural_style_transfer mentioned on GitHubpytorch report
kynk94/TF2-Image-Generation mentioned on GitHubtf report
libreai/neural-painters-x mentioned on GitHubtfMIT report
lxy5513/Multi-Style-Transfer mentioned on GitHubpytorchMIT report
nikunj-taneja/accendo mentioned on GitHubpytorchCC0-1.0 report
ninatu/mood_challenge mentioned on GitHubpytorchApache-2.0 report
noufali/VideoML mentioned on GitHubpytorchMIT report
oneTaken/pytorch_fast_style_transfer mentioned on GitHubpytorchMIT report
pmm09c/ntire-dehazing mentioned on GitHubpytorch report
proteus1991/GridDehazeNet mentioned on GitHubpytorch report
riven314/PerceptualLoss-FastAI mentioned on GitHubpytorch report
riyakothari/NeuralStyleTransfer mentioned on GitHubpytorch report
rrmina/fast-neural-style-pytorch mentioned on GitHubpytorch report
rrrepsac/tb_vc mentioned on GitHubpytorch report
ryanchankh/style_transfer mentioned on GitHubtf report
samsh19/ML_project mentioned on GitHubpytorch report
seanmullery/Super-Resolution mentioned on GitHub report
seloufian/Faster-Style-Transfer mentioned on GitHubpytorch report
shivsundram/superresolution mentioned on GitHubtfGPL-3.0 report
thatbrguy/Dehaze-GAN mentioned on GitHubtfMIT report
vieduy/Neural-Style-Transfer mentioned on GitHubpaddle report
vijishmadhavan/ArtLine mentioned on GitHubpytorchMIT report
vijishmadhavan/SkinDeep mentioned on GitHubpytorchApache-2.0 report
vijishmadhavan/Toon-Me mentioned on GitHubpytorchGPL-3.0 report
wilile26811249/Style_Transfer_PyTorch mentioned on GitHubpytorch report
yakhyo/Fast-Neural-Style-Transfer mentioned on GitHubpytorch report
zhanghang1989/PyTorch-Multi-Style-Transfer mentioned on GitHubpytorchMIT 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

46 samples harvested; 13 ran; 1 honoured the contract we drafted; 33 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
2ran · violated contract
2ran · our draft was wrong
3ran · fixture could not drive it
5ran
33unverified

Licence: 5 of the 46 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 10 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.

conv ZyoungXu/MoSt-DSA/model/decoder.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 1d13034a9dbf1c2a · report
deconv ZyoungXu/MoSt-DSA/model/refine.py community (archive-listed) ran Apache-2.0 (permissive) · 23f41c2655d6295a · report
default ZyoungXu/MoSt-DSA/model/encoder.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · 60fff7c3c400d7ff · report
downsample ZyoungXu/MoSt-DSA/model/loss.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 1f6001e1c3b06556 · report
exists ZyoungXu/MoSt-DSA/model/encoder.py community (archive-listed) ran · violated contract Apache-2.0 (permissive) · aa5486a3650902d8 · report
gauss_kernel ZyoungXu/MoSt-DSA/model/loss.py community (archive-listed) ran Apache-2.0 (permissive) · 337a38a7be8077eb · report
gram anjalipemmaraju/styletransfernetwork/run_style_transfer.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · ae3b7d5b880b9e64 · report
gram_matrix abhiskk/fast-neural-style/neural_style/utils.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 430c582cd8bbb1df · report
normalize CYetlanezi/Proyecto-Opti/utils.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · 748339aa35abdaf0 · report
preprocess_input cryu854/FastStyle/modules/vgg19.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 45d5e3cf42e43b89 · report
upsample ZyoungXu/MoSt-DSA/model/loss.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 23101166bb29f65e · report
warp ZyoungXu/MoSt-DSA/model/warplayer.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 662710159b487a9d · report
Conv thatbrguy/Dehaze-GAN/operations.py community (archive-listed) unverified MIT (permissive) · e31f6b8517924ce3 · report
MaxPool thatbrguy/Dehaze-GAN/operations.py community (archive-listed) unverified MIT (permissive) · 1a7af6d931522e01 · report
TransposeConv thatbrguy/Dehaze-GAN/operations.py community (archive-listed) unverified MIT (permissive) · 4fcf2df9227d47b9 · report
add_train_args MartinBuessemeyer/Artistic-Texture-Control/parameter_prediction_network/model_helper.py community (archive-listed) unverified MIT (permissive) · af4a066c9ddad3bb · report
calc_rel_pos ZyoungXu/MoSt-DSA/model/encoder.py community (archive-listed) unverified Apache-2.0 (permissive) · 9c9cf950a1618064 · report
compute_pj MartinBuessemeyer/Artistic-Texture-Control/helpers/hist_layers.py community (archive-listed) unverified MIT (permissive) · b5166f5e96ce0061 · report
conv thatbrguy/Dehaze-GAN/legacy/utils.py community (archive-listed) unverified MIT (permissive) · 755cc95e92cadeb5 · report
deconv thatbrguy/Dehaze-GAN/legacy/utils.py community (archive-listed) unverified MIT (permissive) · 288caa152d503142 · report
dummy_loss AloneGu/keras_tf_neural_img/loss.py community (archive-listed) unverified MIT (permissive) · c8978f6c3115ccde · report
get_dataloader_device MartinBuessemeyer/Artistic-Texture-Control/parameter_prediction_network/arbitrary_style_helpers.py community (archive-listed) unverified MIT (permissive) · b16f733f5e7dbd3b · report
get_individual_syle_weight MartinBuessemeyer/Artistic-Texture-Control/helpers/losses.py community (archive-listed) unverified MIT (permissive) · edbcdd31ce12f58c · report
get_learning_rate ZyoungXu/MoSt-DSA/Train_Test_Pipe.py community (archive-listed) unverified Apache-2.0 (permissive) · b9306d4374e9d337 · report
get_logger MartinBuessemeyer/Artistic-Texture-Control/parameter_prediction_network/model_helper.py community (archive-listed) unverified MIT (permissive) · e2b8c34776dbc440 · report
get_random_first_stage_params MartinBuessemeyer/Artistic-Texture-Control/parameter_prediction_network/arbitrary_style_helpers.py community (archive-listed) unverified MIT (permissive) · a5dd30e0410ed7ce · report
gram_matrix MartinBuessemeyer/Artistic-Texture-Control/helpers/losses.py community (archive-listed) unverified MIT (permissive) · a59f6e63a2e37d46 · report
gram_matrix AloneGu/keras_tf_neural_img/loss.py community (archive-listed) unverified MIT (permissive) · 3029f01644d4fa28 · report
init_model_config ZyoungXu/MoSt-DSA/config.py community (archive-listed) unverified Apache-2.0 (permissive) · d3e4e28233687fe8 · report
l1_loss_ignore_minus_one MartinBuessemeyer/Artistic-Texture-Control/helpers/losses.py community (archive-listed) unverified MIT (permissive) · cea45c4bac1ccbc2 · report
load_image gordicaleksa/pytorch-neural-style-transfer-fast/utils/utils.py community (archive-listed) unverified MIT (permissive) · 3827515ddabe45d4 · report
load_image oneTaken/pytorch_fast_style_transfer/utils.py community (archive-listed) unverified MIT (permissive) · fad8df79e0e300cc · report
lrelu thatbrguy/Dehaze-GAN/legacy/utils.py community (archive-listed) unverified MIT (permissive) · f1021e0f87be533e · report
normalize anjalipemmaraju/styletransfernetwork/run_style_transfer.py community (archive-listed) unverified no licence file found · pointer only · 0760176ab59586b9 · report
normalize_batch oneTaken/pytorch_fast_style_transfer/utils.py community (archive-listed) unverified MIT (permissive) · 589c69c525831d56 · report
perceptual_loss ZyoungXu/MoSt-DSA/model/vgg19_losses.py community (archive-listed) unverified Apache-2.0 (permissive) · b882f1bdd6436f17 · report
perform_first_stage_painter MartinBuessemeyer/Artistic-Texture-Control/effects/arbitrary_style_first_stage.py community (archive-listed) unverified MIT (permissive) · f43a8f5bb4029f70 · report
phi_k MartinBuessemeyer/Artistic-Texture-Control/helpers/hist_layers.py community (archive-listed) unverified MIT (permissive) · 54e18b1fc47a06a2 · report
post_process_image gordicaleksa/pytorch-neural-style-transfer-fast/utils/utils.py community (archive-listed) unverified MIT (permissive) · 80a1a8c50d8bca42 · report
prepare_img gordicaleksa/pytorch-neural-style-transfer-fast/utils/utils.py community (archive-listed) unverified MIT (permissive) · 178628ced80043a9 · report
preprocess_image1 AloneGu/keras_tf_neural_img/img_util.py community (archive-listed) unverified MIT (permissive) · 4c10c673f13eb53b · report
resize_array CYetlanezi/Proyecto-Opti/utils.py community (archive-listed) unverified no licence file found · pointer only · 1f2f54d3be7d2fc4 · report
style_loss ZyoungXu/MoSt-DSA/model/vgg19_losses.py community (archive-listed) unverified Apache-2.0 (permissive) · ede22374e1b7ef80 · report
subtract_imagenet_mean_batch abhiskk/fast-neural-style/neural_style/utils.py community (archive-listed) unverified MIT (permissive) · 0f044645dc8bfd84 · report
tensor_load_rgbimage abhiskk/fast-neural-style/neural_style/utils.py community (archive-listed) unverified MIT (permissive) · c977b3ac7a846dcf · report
from_vgg identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · 79bc8cd94a78aa43 · report

Tasks

Image Super-ResolutionNuclear SegmentationSpeech EnhancementStyle TransferSuper-Resolution

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Super-Resolution BSD100 - 4x upscaling Perceptual Loss PSNR 24.95 #65 of 71 Archive leaderboard report
Image Super-Resolution BSD100 - 4x upscaling Perceptual Loss SSIM 0.6317 #65 of 71 Archive leaderboard report
Nuclear Segmentation Cell17 FnsNet Dice 0.6165 #4 of 4 Archive leaderboard report
Nuclear Segmentation Cell17 FnsNet F1-score 0.7413 #4 of 4 Archive leaderboard report
Nuclear Segmentation Cell17 FnsNet Hausdorff 25.9102 #4 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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