Papers › Multi-style Generative Network for Real-time Transfer

Multi-style Generative Network for Real-time Transfer

20 Mar 2017arXiv:1703.06953archive 2025-07-28

Hang Zhang, Kristin Dana

Despite the rapid progress in style transfer, existing approaches using feed-forward generative network for multi-style or arbitrary-style transfer are usually compromised of image quality and model flexibility. We find it is fundamentally difficult to achieve comprehensive style modeling using 1-dimensional style embedding. Motivated by this, we introduce CoMatch Layer that learns to match the second order feature statistics with the target styles. With the CoMatch Layer, we build a Multi-style Generative Network (MSG-Net), which achieves real-time performance. We also employ an specific strategy of upsampled convolution which avoids checkerboard artifacts caused by fractionally-strided convolution. Our method has achieved superior image quality comparing to state-of-the-art approaches. The proposed MSG-Net as a general approach for real-time style transfer is compatible with most existing techniques including content-style interpolation, color-preserving, spatial control and brush stroke size control. MSG-Net is the first to achieve real-time brush-size control in a purely feed-forward manner for style transfer. Our implementations and pre-trained models for Torch, PyTorch and MXNet frameworks will be publicly available.

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

Code

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

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

zhanghang1989/PyTorch-Multi-Style-Transfer officialmentioned on GitHubpytorchMIT report
germanjke/StyleTransformerGANs mentioned on GitHubpytorch report
habout632/gans mentioned on GitHubpytorchMIT report
lxy5513/Multi-Style-Transfer mentioned on GitHubpytorchMIT report
noufali/VideoML mentioned on GitHubpytorchMIT report
sonnguyentruong129/msgnet-tf mentioned on GitHubtfApache-2.0 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

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

Licence: 0 of the 14 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. “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.

gram_matrix zhanghang1989/PyTorch-Multi-Style-Transfer/experiments/utils.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 430c582cd8bbb1df · report
subtract_imagenet_mean_batch zhanghang1989/PyTorch-Multi-Style-Transfer/experiments/utils.py official repository unverified MIT (permissive) · e1a6917dbeb17928 · report
tensor_load_rgbimage zhanghang1989/PyTorch-Multi-Style-Transfer/experiments/utils.py official repository unverified MIT (permissive) · 78fe823d313a3349 · report
var zhanghang1989/PyTorch-Multi-Style-Transfer/experiments/net.py official repository unverified MIT (permissive) · e837b13c9b1af4be · report
changeImageSize habout632/gans/experiments/alpha_blend.py community (archive-listed) unverified MIT (permissive) · 9cf2bfef9d80375e · report
get_file_content habout632/gans/experiments/body_analysis.py community (archive-listed) unverified MIT (permissive) · df9236bc2d2e92d1 · report
gram_matrix sonnguyentruong129/msgnet-tf/src/model.py community (archive-listed) unverified Apache-2.0 (permissive) · 47971a1f1e6da2cb · report
gram_matrix sonnguyentruong129/msgnet-tf/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 61276bec12947112 · report
images_to_vectors habout632/gans/experiments/image_generation/gans/cgan.py community (archive-listed) unverified MIT (permissive) · ab79b3af884cc927 · report
noise habout632/gans/experiments/image_generation/gans/cgan.py community (archive-listed) unverified MIT (permissive) · 2193a8e5441cfb68 · report
noise habout632/gans/experiments/image_generation/gans/dcgan.py community (archive-listed) unverified MIT (permissive) · efb95cb76ecae277 · report
subtract_imagenet_mean_batch sonnguyentruong129/msgnet-tf/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 965868f762794fb3 · report
tensor_load_rgbimage sonnguyentruong129/msgnet-tf/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · b8fc24f7c2aa7558 · report
vectors_to_images habout632/gans/experiments/image_generation/gans/cgan.py community (archive-listed) unverified MIT (permissive) · 705b6d49a7b01d24 · report

Tasks

Style Transfer

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

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