{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/universal-style-transfer-via-feature","title":"Universal Style Transfer via Feature Transforms","arxiv_id":"1705.08086","date":"2017-05-23","proceeding":"NeurIPS 2017 12","authors":["Yijun Li","Chen Fang","Jimei Yang","Zhaowen Wang","Xin Lu","Ming-Hsuan Yang"],"abstract":"Universal style transfer aims to transfer arbitrary visual styles to content\nimages. Existing feed-forward based methods, while enjoying the inference\nefficiency, are mainly limited by inability of generalizing to unseen styles or\ncompromised visual quality. In this paper, we present a simple yet effective\nmethod that tackles these limitations without training on any pre-defined\nstyles. The key ingredient of our method is a pair of feature transforms,\nwhitening and coloring, that are embedded to an image reconstruction network.\nThe whitening and coloring transforms reflect a direct matching of feature\ncovariance of the content image to a given style image, which shares similar\nspirits with the optimization of Gram matrix based cost in neural style\ntransfer. We demonstrate the effectiveness of our algorithm by generating\nhigh-quality stylized images with comparisons to a number of recent methods. We\nalso analyze our method by visualizing the whitened features and synthesizing\ntextures via simple feature coloring.","url_abs":"http://arxiv.org/abs/1705.08086v2","url_pdf":"http://arxiv.org/pdf/1705.08086v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/Yijunmaverick/UniversalStyleTransfer","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/EndyWon/Deep-Feature-Perturbation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/JianqiangRen/AAMS","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/YCJGG/Muti-style-transfer-by-camera","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/eridgd/WCT-TF","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/liamheng/pytorch1.4-wct","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/lihengbit/Pytorch1.4-WCT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/ojus1/StyleTransfer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/rajatmodi62/PytorchWCT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/smaranjitghose/DeepHoli","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"CC0-1.0"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/sunshineatnoon/PytorchWCT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/tcmxx/CNTKUnityTools","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/umd-fire-coml/2020-Image-Stylization","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/viriditass/Style-transfer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"universal-style-transfer-via-feature","repo_url":"https://github.com/yotharit/image_style_transfer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}}],"tasks":[{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"},{"task_slug":"style-transfer","task_name":"Style Transfer"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1705.08086","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1705.08086"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/JianqiangRen/AAMS","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ojus1/StyleTransfer","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/viriditass/Style-transfer","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/smaranjitghose/DeepHoli","reach":{"status":"ok","spdx":"CC0-1.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lihengbit/Pytorch1.4-WCT","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tcmxx/CNTKUnityTools","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/liamheng/pytorch1.4-wct","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/EndyWon/Deep-Feature-Perturbation","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eridgd/WCT-TF","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yotharit/image_style_transfer","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Yijunmaverick/UniversalStyleTransfer","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rajatmodi62/PytorchWCT","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/umd-fire-coml/2020-Image-Stylization","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sunshineatnoon/PytorchWCT","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/YCJGG/Muti-style-transfer-by-camera","reach":{"status":"unanswered"}}],"summary":{"ran_fixture":3,"ran_draft_wrong":1},"by_repo_kind":{"listed":{"samples":4,"ran":4,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":4,"samples":[{"code_sha256_prefix":"298f30782ca9898e","entry":"transform","repo":"ojus1/StyleTransfer","repo_kind":"listed","path":"StyleTransfer.py","file_url":"https://github.com/ojus1/StyleTransfer/blob/HEAD/StyleTransfer.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"298f30782ca9898e"}},{"code_sha256_prefix":"d058e4eb6fc2b635","entry":"wct","repo":"umd-fire-coml/2020-Image-Stylization","repo_kind":"listed","path":"model_builder/wct.py","file_url":"https://github.com/umd-fire-coml/2020-Image-Stylization/blob/HEAD/model_builder/wct.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d058e4eb6fc2b635"}},{"code_sha256_prefix":"1b3d9e473ef30bc7","entry":"wct_mask","repo":"umd-fire-coml/2020-Image-Stylization","repo_kind":"listed","path":"model_builder/wct.py","file_url":"https://github.com/umd-fire-coml/2020-Image-Stylization/blob/HEAD/model_builder/wct.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1b3d9e473ef30bc7"}},{"code_sha256_prefix":"5aea230e5fd619db","entry":"whiten_and_color","repo":"ojus1/StyleTransfer","repo_kind":"listed","path":"StyleTransfer.py","file_url":"https://github.com/ojus1/StyleTransfer/blob/HEAD/StyleTransfer.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5aea230e5fd619db"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}