{"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/cross-domain-correspondence-learning-for","title":"Cross-domain Correspondence Learning for Exemplar-based Image Translation","arxiv_id":"2004.05571","date":"2020-04-12","proceeding":"CVPR 2020 6","authors":["Pan Zhang","Bo Zhang","Dong Chen","Lu Yuan","Fang Wen"],"abstract":"We present a general framework for exemplar-based image translation, which synthesizes a photo-realistic image from the input in a distinct domain (e.g., semantic segmentation mask, or edge map, or pose keypoints), given an exemplar image. The output has the style (e.g., color, texture) in consistency with the semantically corresponding objects in the exemplar. We propose to jointly learn the crossdomain correspondence and the image translation, where both tasks facilitate each other and thus can be learned with weak supervision. The images from distinct domains are first aligned to an intermediate domain where dense correspondence is established. Then, the network synthesizes images based on the appearance of semantically corresponding patches in the exemplar. We demonstrate the effectiveness of our approach in several image translation tasks. Our method is superior to state-of-the-art methods in terms of image quality significantly, with the image style faithful to the exemplar with semantic consistency. Moreover, we show the utility of our method for several applications","url_abs":"https://arxiv.org/abs/2004.05571v1","url_pdf":"https://arxiv.org/pdf/2004.05571v1.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":"cross-domain-correspondence-learning-for","repo_url":"https://github.com/KU-CVLAB/MIDMs","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"cross-domain-correspondence-learning-for","repo_url":"https://github.com/Lotayou/CoCosNet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"AGPL-3.0"}},{"paper_slug":"cross-domain-correspondence-learning-for","repo_url":"https://github.com/microsoft/CoCosNet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-to-image-translation-on-ade20k-labels","task":"Image-to-Image Translation","dataset":"ADE20K Labels-to-Photos","model":"CoCosNet","rank_in_archive_order":14,"of":16,"metrics":{"FID":"26.4"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-ade20k-outdoor","task":"Image-to-Image Translation","dataset":"ADE20K-Outdoor Labels-to-Photos","model":"CoCosNet","rank_in_archive_order":7,"of":7,"metrics":{"FID":"42.4"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-celeba-hq","task":"Image-to-Image Translation","dataset":"CelebA-HQ","model":"CoCosNet","rank_in_archive_order":2,"of":6,"metrics":{"FID":"14.3"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-deep-fashion-1","task":"Image-to-Image Translation","dataset":"Deep-Fashion","model":"CoCosNet","rank_in_archive_order":2,"of":2,"metrics":{"FID":"14.4"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2004.05571","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2004.05571"}},"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/Lotayou/CoCosNet","reach":{"status":"ok","spdx":"AGPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/CoCosNet","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/KU-CVLAB/MIDMs","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"listed":{"samples":3,"ran":1,"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":"9483a854e82aaba9","entry":"PositionalNorm2d","repo":"microsoft/CoCosNet","repo_kind":"listed","path":"models/networks/normalization.py","file_url":"https://github.com/microsoft/CoCosNet/blob/HEAD/models/networks/normalization.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9483a854e82aaba9"}},{"code_sha256_prefix":"414edb4bd976c819","entry":"equal_lr","repo":"microsoft/CoCosNet","repo_kind":"listed","path":"models/networks/normalization.py","file_url":"https://github.com/microsoft/CoCosNet/blob/HEAD/models/networks/normalization.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":"414edb4bd976c819"}},{"code_sha256_prefix":"fd231a057942e089","entry":"post_processing","repo":"microsoft/CoCosNet","repo_kind":"listed","path":"models/networks/ContextualLoss.py","file_url":"https://github.com/microsoft/CoCosNet/blob/HEAD/models/networks/ContextualLoss.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":"fd231a057942e089"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}