{"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/domain-adaptation-for-object-detection-via","title":"Domain Adaptation for Object Detection via Style Consistency","arxiv_id":"1911.10033","date":"2019-11-22","proceeding":null,"authors":["Adrian Lopez Rodriguez","Krystian Mikolajczyk"],"abstract":"We propose a domain adaptation approach for object detection. We introduce a two-step method: the first step makes the detector robust to low-level differences and the second step adapts the classifiers to changes in the high-level features. For the first step, we use a style transfer method for pixel-adaptation of source images to the target domain. We find that enforcing low distance in the high-level features of the object detector between the style transferred images and the source images improves the performance in the target domain. For the second step, we propose a robust pseudo labelling approach to reduce the noise in both positive and negative sampling. Experimental evaluation is performed using the detector SSD300 on PASCAL VOC extended with the dataset proposed in arxiv:1803.11365 where the target domain images are of different styles. Our approach significantly improves the state-of-the-art performance in this benchmark.","url_abs":"https://arxiv.org/abs/1911.10033v1","url_pdf":"https://arxiv.org/pdf/1911.10033v1.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":"domain-adaptation-for-object-detection-via","repo_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"object","task_name":"Object"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"style-transfer","task_name":"Style Transfer"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1911.10033","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1911.10033"}},"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/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":3,"ran_fixture":2,"ran_violates":1,"unverified":7},"by_repo_kind":{"listed":{"samples":13,"ran":6,"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":"16679a24b9881031","entry":"adaptive_instance_normalization","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"styletransfer.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/styletransfer.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":"16679a24b9881031"}},{"code_sha256_prefix":"2a8545e480332b47","entry":"add_extras","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"models/vgg_ssd.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/models/vgg_ssd.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2a8545e480332b47"}},{"code_sha256_prefix":"38eaf8511dc7bc9c","entry":"calc_mean_std","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"styletransfer.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/styletransfer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"38eaf8511dc7bc9c"}},{"code_sha256_prefix":"b490ac8699f5a7ad","entry":"multibox","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"models/vgg_ssd.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/models/vgg_ssd.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b490ac8699f5a7ad"}},{"code_sha256_prefix":"25c7475539e39da4","entry":"str2bool","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"visualise_detections.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/visualise_detections.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"25c7475539e39da4"}},{"code_sha256_prefix":"6921f7ed00595a4f","entry":"vgg","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"models/vgg_ssd.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/models/vgg_ssd.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6921f7ed00595a4f"}},{"code_sha256_prefix":"c73f130d6db094a7","entry":"boxes_from_dets","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"trainer.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/trainer.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":"c73f130d6db094a7"}},{"code_sha256_prefix":"cbfcc224a2f63e72","entry":"coral","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"styletransfer.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/styletransfer.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":"cbfcc224a2f63e72"}},{"code_sha256_prefix":"b6fbfd91fcc7875e","entry":"draw_annos","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"pseudolabel.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/pseudolabel.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":"b6fbfd91fcc7875e"}},{"code_sha256_prefix":"7deb45fa5fc536b1","entry":"draw_annos","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"visualize_pseudolabels.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/visualize_pseudolabels.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":"7deb45fa5fc536b1"}},{"code_sha256_prefix":"af7b48f3521d73e9","entry":"get_output_dir","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"visualise_detections.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/visualise_detections.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":"af7b48f3521d73e9"}},{"code_sha256_prefix":"3d0d74057d9f5c81","entry":"nms","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"pseudolabel.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/pseudolabel.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":"3d0d74057d9f5c81"}},{"code_sha256_prefix":"a92789866fc1591a","entry":"parse_rec","repo":"pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency","repo_kind":"listed","path":"visualise_detections.py","file_url":"https://github.com/pb2377/Pytorch-Domain-Adaptation-via-Style-Consistency/blob/HEAD/visualise_detections.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":"a92789866fc1591a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}