{"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/fast-patch-based-style-transfer-of-arbitrary","title":"Fast Patch-based Style Transfer of Arbitrary Style","arxiv_id":"1612.04337","date":"2016-12-13","proceeding":null,"authors":["Tian Qi Chen","Mark Schmidt"],"abstract":"Artistic style transfer is an image synthesis problem where the content of an\nimage is reproduced with the style of another. Recent works show that a\nvisually appealing style transfer can be achieved by using the hidden\nactivations of a pretrained convolutional neural network. However, existing\nmethods either apply (i) an optimization procedure that works for any style\nimage but is very expensive, or (ii) an efficient feedforward network that only\nallows a limited number of trained styles. In this work we propose a simpler\noptimization objective based on local matching that combines the content\nstructure and style textures in a single layer of the pretrained network. We\nshow that our objective has desirable properties such as a simpler optimization\nlandscape, intuitive parameter tuning, and consistent frame-by-frame\nperformance on video. Furthermore, we use 80,000 natural images and 80,000\npaintings to train an inverse network that approximates the result of the\noptimization. This results in a procedure for artistic style transfer that is\nefficient but also allows arbitrary content and style images.","url_abs":"http://arxiv.org/abs/1612.04337v1","url_pdf":"http://arxiv.org/pdf/1612.04337v1.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":"fast-patch-based-style-transfer-of-arbitrary","repo_url":"https://github.com/rtqichen/style-swap","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"fast-patch-based-style-transfer-of-arbitrary","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":"fast-patch-based-style-transfer-of-arbitrary","repo_url":"https://github.com/Yijunmaverick/UniversalStyleTransfer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"fast-patch-based-style-transfer-of-arbitrary","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":"fast-patch-based-style-transfer-of-arbitrary","repo_url":"https://github.com/supvict123/style-swap","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"fast-patch-based-style-transfer-of-arbitrary","repo_url":"https://github.com/sylvielee/style-swap-819","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"style-transfer","task_name":"Style Transfer"}],"methods":[{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"feedforward-network","method_name":"Feedforward Network"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1612.04337","atlas_url":"https://app.syntology.ai/?focus=1612.04337","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1612.04337"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/rtqichen/style-swap","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/Yijunmaverick/UniversalStyleTransfer","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/supvict123/style-swap","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sylvielee/style-swap-819","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"listed":{"samples":5,"ran":0,"repositories":1}},"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":0,"samples":[{"code_sha256_prefix":"3475817c699f3b32","entry":"create_oberservation_comps","repo":"sylvielee/style-swap-819","repo_kind":"listed","path":"create_pyramid.py","file_url":"https://github.com/sylvielee/style-swap-819/blob/HEAD/create_pyramid.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3475817c699f3b32"}},{"code_sha256_prefix":"3d3faa9718ebad34","entry":"flatten_k_usage","repo":"sylvielee/style-swap-819","repo_kind":"listed","path":"evaluate_k_usage.py","file_url":"https://github.com/sylvielee/style-swap-819/blob/HEAD/evaluate_k_usage.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3d3faa9718ebad34"}},{"code_sha256_prefix":"0a1c9327c082bad6","entry":"get_colors","repo":"sylvielee/style-swap-819","repo_kind":"listed","path":"evaluate_k_usage.py","file_url":"https://github.com/sylvielee/style-swap-819/blob/HEAD/evaluate_k_usage.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0a1c9327c082bad6"}},{"code_sha256_prefix":"462aef4daa0119e6","entry":"get_patch_sources","repo":"sylvielee/style-swap-819","repo_kind":"listed","path":"evaluate_k_usage.py","file_url":"https://github.com/sylvielee/style-swap-819/blob/HEAD/evaluate_k_usage.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"462aef4daa0119e6"}},{"code_sha256_prefix":"ad57c1fd8aa21ddd","entry":"get_stylized_images","repo":"sylvielee/style-swap-819","repo_kind":"listed","path":"create_pyramid.py","file_url":"https://github.com/sylvielee/style-swap-819/blob/HEAD/create_pyramid.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ad57c1fd8aa21ddd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}