{"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/stitch-it-in-time-gan-based-facial-editing-of","title":"Stitch it in Time: GAN-Based Facial Editing of Real Videos","arxiv_id":"2201.08361","date":"2022-01-20","proceeding":null,"authors":["Rotem Tzaban","Ron Mokady","Rinon Gal","Amit H. Bermano","Daniel Cohen-Or"],"abstract":"The ability of Generative Adversarial Networks to encode rich semantics within their latent space has been widely adopted for facial image editing. However, replicating their success with videos has proven challenging. Sets of high-quality facial videos are lacking, and working with videos introduces a fundamental barrier to overcome - temporal coherency. We propose that this barrier is largely artificial. The source video is already temporally coherent, and deviations from this state arise in part due to careless treatment of individual components in the editing pipeline. We leverage the natural alignment of StyleGAN and the tendency of neural networks to learn low frequency functions, and demonstrate that they provide a strongly consistent prior. We draw on these insights and propose a framework for semantic editing of faces in videos, demonstrating significant improvements over the current state-of-the-art. Our method produces meaningful face manipulations, maintains a higher degree of temporal consistency, and can be applied to challenging, high quality, talking head videos which current methods struggle with.","url_abs":"https://arxiv.org/abs/2201.08361v2","url_pdf":"https://arxiv.org/pdf/2201.08361v2.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":"stitch-it-in-time-gan-based-facial-editing-of","repo_url":"https://github.com/rotemtzaban/STIT","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"facial-editing","task_name":"Facial Editing"}],"methods":[{"method_slug":"adaptive-instance-normalization","method_name":"Adaptive Instance Normalization"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"feedforward-network","method_name":"Feedforward Network"},{"method_slug":"r1-regularization","method_name":"R1 Regularization"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2201.08361","atlas_url":"https://app.syntology.ai/?focus=2201.08361","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2201.08361"}},"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/rotemtzaban/STIT","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"official":{"samples":5,"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":"a63832da3a38acee","entry":"calc_mask","repo":"rotemtzaban/STIT","repo_kind":"official","path":"edit_video.py","file_url":"https://github.com/rotemtzaban/STIT/blob/HEAD/edit_video.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a63832da3a38acee"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"rotemtzaban/STIT","repo_kind":"official","path":"models/seg_model_2.py","file_url":"https://github.com/rotemtzaban/STIT/blob/HEAD/models/seg_model_2.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":"fac5364e2f53c6db"}},{"code_sha256_prefix":"3224f38ddf152a3c","entry":"create_dump_file","repo":"rotemtzaban/STIT","repo_kind":"official","path":"edit_video_stitching_tuning.py","file_url":"https://github.com/rotemtzaban/STIT/blob/HEAD/edit_video_stitching_tuning.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3224f38ddf152a3c"}},{"code_sha256_prefix":"325b8d54f52e2421","entry":"create_layer_basic","repo":"rotemtzaban/STIT","repo_kind":"official","path":"models/seg_model_2.py","file_url":"https://github.com/rotemtzaban/STIT/blob/HEAD/models/seg_model_2.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"325b8d54f52e2421"}},{"code_sha256_prefix":"ef8f8ee42f9bf8a7","entry":"zeroshot_classifier","repo":"rotemtzaban/STIT","repo_kind":"official","path":"editings/styleclip_global_utils.py","file_url":"https://github.com/rotemtzaban/STIT/blob/HEAD/editings/styleclip_global_utils.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":"ef8f8ee42f9bf8a7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}