{"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/stylegan-nada-clip-guided-domain-adaptation","title":"StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators","arxiv_id":"2108.00946","date":"2021-08-02","proceeding":null,"authors":["Rinon Gal","Or Patashnik","Haggai Maron","Gal Chechik","Daniel Cohen-Or"],"abstract":"Can a generative model be trained to produce images from a specific domain, guided by a text prompt only, without seeing any image? In other words: can an image generator be trained \"blindly\"? Leveraging the semantic power of large scale Contrastive-Language-Image-Pre-training (CLIP) models, we present a text-driven method that allows shifting a generative model to new domains, without having to collect even a single image. We show that through natural language prompts and a few minutes of training, our method can adapt a generator across a multitude of domains characterized by diverse styles and shapes. Notably, many of these modifications would be difficult or outright impossible to reach with existing methods. We conduct an extensive set of experiments and comparisons across a wide range of domains. These demonstrate the effectiveness of our approach and show that our shifted models maintain the latent-space properties that make generative models appealing for downstream tasks.","url_abs":"https://arxiv.org/abs/2108.00946v2","url_pdf":"https://arxiv.org/pdf/2108.00946v2.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":"stylegan-nada-clip-guided-domain-adaptation","repo_url":"https://github.com/rinongal/StyleGAN-nada","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"stylegan-nada-clip-guided-domain-adaptation","repo_url":"https://github.com/adriaciurana/exploration-stylegan-nada","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"stylegan-nada-clip-guided-domain-adaptation","repo_url":"https://github.com/macderru/hyperdomainnet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"domain-adaptation","task_name":"Domain Adaptation"},{"task_slug":"image-manipulation","task_name":"Image Manipulation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2108.00946","atlas_url":"https://app.syntology.ai/?focus=2108.00946","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.00946"}},"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/macderru/hyperdomainnet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/adriaciurana/exploration-stylegan-nada","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rinongal/StyleGAN-nada","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":3,"ran_violates":1,"unverified":6},"by_repo_kind":{"official":{"samples":10,"ran":4,"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":"7fe245a7216ae67b","entry":"convert_conv","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"convert_weight.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/convert_weight.py","link_basis":"plan_row","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":"7fe245a7216ae67b"}},{"code_sha256_prefix":"1c7cd5abc48bcf75","entry":"convert_modconv","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"convert_weight.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/convert_weight.py","link_basis":"plan_row","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":"1c7cd5abc48bcf75"}},{"code_sha256_prefix":"96b279b9ef818d94","entry":"convert_torgb","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"convert_weight.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/convert_weight.py","link_basis":"plan_row","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":"96b279b9ef818d94"}},{"code_sha256_prefix":"6f65e378a4313f87","entry":"make_kernel","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/model/sg2_model.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/model/sg2_model.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6f65e378a4313f87"}},{"code_sha256_prefix":"9d31d2c4cd16bb2d","entry":"ask_yes_no","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/dnnlib/util.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/dnnlib/util.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":"9d31d2c4cd16bb2d"}},{"code_sha256_prefix":"323317029c8b57cb","entry":"duplicate_latent","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/generate_videos.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/generate_videos.py","link_basis":"first_harvest_node","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":"323317029c8b57cb"}},{"code_sha256_prefix":"053fc534bc6bb989","entry":"format_time","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/dnnlib/util.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/dnnlib/util.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":"053fc534bc6bb989"}},{"code_sha256_prefix":"77f4aa0649e7f404","entry":"format_time_brief","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/dnnlib/util.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/dnnlib/util.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":"77f4aa0649e7f404"}},{"code_sha256_prefix":"0929a327abb07197","entry":"interpolate_forward_backward","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/generate_videos.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/generate_videos.py","link_basis":"first_harvest_node","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":"0929a327abb07197"}},{"code_sha256_prefix":"53b619216cd18d2b","entry":"project_code","repo":"rinongal/StyleGAN-nada","repo_kind":"official","path":"ZSSGAN/generate_videos.py","file_url":"https://github.com/rinongal/StyleGAN-nada/blob/HEAD/ZSSGAN/generate_videos.py","link_basis":"first_harvest_node","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":"53b619216cd18d2b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}