{"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/dual-path-learning-for-domain-adaptation-of","title":"Dual Path Learning for Domain Adaptation of Semantic Segmentation","arxiv_id":"2108.06337","date":"2021-08-13","proceeding":"ICCV 2021 10","authors":["Yiting Cheng","Fangyun Wei","Jianmin Bao","Dong Chen","Fang Wen","Wenqiang Zhang"],"abstract":"Domain adaptation for semantic segmentation enables to alleviate the need for large-scale pixel-wise annotations. Recently, self-supervised learning (SSL) with a combination of image-to-image translation shows great effectiveness in adaptive segmentation. The most common practice is to perform SSL along with image translation to well align a single domain (the source or target). However, in this single-domain paradigm, unavoidable visual inconsistency raised by image translation may affect subsequent learning. In this paper, based on the observation that domain adaptation frameworks performed in the source and target domain are almost complementary in terms of image translation and SSL, we propose a novel dual path learning (DPL) framework to alleviate visual inconsistency. Concretely, DPL contains two complementary and interactive single-domain adaptation pipelines aligned in source and target domain respectively. The inference of DPL is extremely simple, only one segmentation model in the target domain is employed. Novel technologies such as dual path image translation and dual path adaptive segmentation are proposed to make two paths promote each other in an interactive manner. Experiments on GTA5$\\rightarrow$Cityscapes and SYNTHIA$\\rightarrow$Cityscapes scenarios demonstrate the superiority of our DPL model over the state-of-the-art methods. The code and models are available at: \\url{https://github.com/royee182/DPL}","url_abs":"https://arxiv.org/abs/2108.06337v1","url_pdf":"https://arxiv.org/pdf/2108.06337v1.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":"dual-path-learning-for-domain-adaptation-of","repo_url":"https://github.com/royee182/dpl","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"synthetic-to-real-translation","task_name":"Synthetic-to-Real Translation"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/synthetic-to-real-translation-on-gtav-to","task":"Synthetic-to-Real Translation","dataset":"GTAV-to-Cityscapes Labels","model":"DPL-Dual","rank_in_archive_order":34,"of":73,"metrics":{"mIoU":"53.3"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2108.06337","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.06337"}},"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/royee182/dpl","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/royee182/DPL","reach":{"status":"ok"}}],"summary":{"ran":1,"unverified":3},"by_repo_kind":{"official":{"samples":4,"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":4,"samples":[{"code_sha256_prefix":"0fc5336295e71a71","entry":"Classifier_Module","repo":"royee182/DPL","repo_kind":"official","path":"DPL_master/model/deeplab.py","file_url":"https://github.com/royee182/DPL/blob/HEAD/DPL_master/model/deeplab.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0fc5336295e71a71"}},{"code_sha256_prefix":"600ea9e08f59905a","entry":"Deeplab","repo":"royee182/DPL","repo_kind":"official","path":"DPL_master/model/deeplab.py","file_url":"https://github.com/royee182/DPL/blob/HEAD/DPL_master/model/deeplab.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"600ea9e08f59905a"}},{"code_sha256_prefix":"c44e4869263db29a","entry":"ResNet101","repo":"royee182/DPL","repo_kind":"official","path":"DPL_master/model/deeplab.py","file_url":"https://github.com/royee182/DPL/blob/HEAD/DPL_master/model/deeplab.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c44e4869263db29a"}},{"code_sha256_prefix":"e3307e53df6be042","entry":"SelfAdaptiveTrainingCE","repo":"royee182/DPL","repo_kind":"official","path":"DPL_master/model/deeplab.py","file_url":"https://github.com/royee182/DPL/blob/HEAD/DPL_master/model/deeplab.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e3307e53df6be042"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}