{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/code/prepare-mask-and-masked-image","entry":"prepare_mask_and_masked_image","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-10-05T00:36:11+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample = n_papers_ran_no_instrument_failure (papers with a run with no instrument failure) + n_papers_ran_instrument_only (papers where every run was a failure of Syntology's instrument); n_samples_ran = n_samples_ran_checked (honoured, violated, no contract) + n_samples_instrument (failures of Syntology's instrument, not of the code).","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":11,"n_papers_ran":7,"n_papers_ran_no_instrument_failure":2,"n_papers_ran_instrument_only":5,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":10,"n_samples_ran":5,"n_samples_constructed":0,"n_samples_ran_checked":2,"n_samples_instrument":3,"n_samples_unverified":5,"n_samples_fingerprinted":3,"n_places":12,"n_places_pointer_only":6,"n_places_pointer_only_link_open":0,"inline_ok_is":"inline_ok is true only when both licence gates allow Syntology to serve this code's text: this paper's link (inline_ok_link, from the licence of this paper's copy) and the stored copy of the same code that Syntology serves, which may have been first harvested from another repository. withheld_clause is Syntology's own wording of which gate keeps the text a pointer and why, and is null when inline_ok is true. This site shows no code text either way; n_places_pointer_only_link_open counts the places where this paper's link allows the text and the stored copy does not","by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":3,"ran_fixture":0,"ran":2,"unverified":5},"key_notes":{"n_samples_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_samples_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2502.18195","arxiv_id_is_arxiv":true,"paper":"/paper/multi-perspective-data-augmentation-for-few","title":"Multi-Perspective Data Augmentation for Few-shot Object Detection","date":"2025-02-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"nvakhoa/mpad","path":"mpad_generation/PowerPaint/pipeline/pipeline_PowerPaint.py","file_url":"https://github.com/nvakhoa/mpad/blob/HEAD/mpad_generation/PowerPaint/pipeline/pipeline_PowerPaint.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, nvakhoa/mpad when it was checked","code_sha256":"fb6b23c08d77f532","code_sha256_prefix":"fb6b23c08d77f532","mcp_get_code":{"code_sha256":"fb6b23c08d77f532"}},{"arxiv_id":"2407.14078","arxiv_id_is_arxiv":true,"paper":"/paper/stable-hair-real-world-hair-transfer-via","title":"Stable-Hair: Real-World Hair Transfer via Diffusion Model","date":"2024-07-19","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Xiaojiu-z/Stable-Hair","path":"diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_inpaint.py","file_url":"https://github.com/Xiaojiu-z/Stable-Hair/blob/HEAD/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_inpaint.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"d4431fe56ad7f713","code_sha256_prefix":"d4431fe56ad7f713","mcp_get_code":{"code_sha256":"d4431fe56ad7f713"}},{"arxiv_id":"2406.07547","arxiv_id_is_arxiv":true,"paper":"/paper/zero-shot-image-editing-with-reference","title":"Zero-shot Image Editing with Reference Imitation","date":"2024-06-11","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"ali-vilab/MimicBrush","path":"models/pipeline_mimicbrush.py","file_url":"https://github.com/ali-vilab/MimicBrush/blob/HEAD/models/pipeline_mimicbrush.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"a159146ab7ba81f1","code_sha256_prefix":"a159146ab7ba81f1","mcp_get_code":{"code_sha256":"a159146ab7ba81f1"}},{"arxiv_id":"2404.14951","arxiv_id_is_arxiv":true,"paper":"/paper/streamlining-the-image-stitching-pipeline","title":"Reconstructing the Image Stitching Pipeline: Integrating Fusion and Rectangling into a Unified Inpainting Model","date":"2024-04-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"yayoyo66/srstitcher","path":"pipes/diff_pipe_inpaint.py","file_url":"https://github.com/yayoyo66/srstitcher/blob/HEAD/pipes/diff_pipe_inpaint.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"3e43cde496b041c3","code_sha256_prefix":"3e43cde496b041c3","mcp_get_code":{"code_sha256":"3e43cde496b041c3"}},{"arxiv_id":"2404.14951","arxiv_id_is_arxiv":true,"paper":"/paper/streamlining-the-image-stitching-pipeline","title":"Reconstructing the Image Stitching Pipeline: Integrating Fusion and Rectangling into a Unified Inpainting Model","date":"2024-04-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"yayoyo66/srstitcher","path":"pipes/diff_pipe_control.py","file_url":"https://github.com/yayoyo66/srstitcher/blob/HEAD/pipes/diff_pipe_control.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"639ccf4ead55737a","code_sha256_prefix":"639ccf4ead55737a","mcp_get_code":{"code_sha256":"639ccf4ead55737a"}},{"arxiv_id":"2404.06139","arxiv_id_is_arxiv":true,"paper":"/paper/diffharmony-latent-diffusion-model-meets","title":"DiffHarmony: Latent Diffusion Model Meets Image Harmonization","date":"2024-04-09","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"nicecv/diffharmony","path":"src/pipelines/pipeline_stable_diffusion_harmony.py","file_url":"https://github.com/nicecv/diffharmony/blob/HEAD/src/pipelines/pipeline_stable_diffusion_harmony.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, nicecv/diffharmony when it was checked","code_sha256":"cac844d58d7cd2d7","code_sha256_prefix":"cac844d58d7cd2d7","mcp_get_code":{"code_sha256":"cac844d58d7cd2d7"}},{"arxiv_id":"2403.05139","arxiv_id_is_arxiv":true,"paper":"/paper/improving-diffusion-models-for-virtual-try-on","title":"Improving Diffusion Models for Authentic Virtual Try-on in the Wild","date":"2024-03-08","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"yisol/IDM-VTON","path":"src/tryon_pipeline.py","file_url":"https://github.com/yisol/IDM-VTON/blob/HEAD/src/tryon_pipeline.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub could not classify the licence of this paper's repository, yisol/IDM-VTON (NOASSERTION)","code_sha256":"72fd33f831a6b39a","code_sha256_prefix":"72fd33f831a6b39a","mcp_get_code":{"code_sha256":"72fd33f831a6b39a"}},{"arxiv_id":"2403.01446","arxiv_id_is_arxiv":true,"paper":"/paper/guardt2i-defending-text-to-image-models-from","title":"GuardT2I: Defending Text-to-Image Models from Adversarial Prompts","date":"2024-03-03","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"yangyijune/mma-diffusion","path":"src/image_space_attack/utils.py","file_url":"https://github.com/yangyijune/mma-diffusion/blob/HEAD/src/image_space_attack/utils.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, yangyijune/mma-diffusion when it was checked","code_sha256":"3e43cde496b041c3","code_sha256_prefix":"3e43cde496b041c3","mcp_get_code":{"code_sha256":"3e43cde496b041c3"}},{"arxiv_id":"2309.03467","arxiv_id_is_arxiv":true,"paper":"/paper/autoregressive-omni-aware-outpainting-for","title":"Autoregressive Omni-Aware Outpainting for Open-Vocabulary 360-Degree Image Generation","date":"2023-09-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"zhuqiangLu/AOG-NET-360","path":"models/inpaint_model.py","file_url":"https://github.com/zhuqiangLu/AOG-NET-360/blob/HEAD/models/inpaint_model.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, zhuqiangLu/AOG-NET-360 when it was checked","code_sha256":"90089adbbc22f425","code_sha256_prefix":"90089adbbc22f425","mcp_get_code":{"code_sha256":"90089adbbc22f425"}},{"arxiv_id":"2308.15005","arxiv_id_is_arxiv":true,"paper":"/paper/few-shot-object-detection-via-synthetic","title":"Few-Shot Object Detection via Synthetic Features with Optimal Transport","date":"2023-08-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":null,"path":"","file_url":null,"status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"inline_ok_link":false,"withheld_clause":"this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it","code_sha256":"fb6b23c08d77f532","code_sha256_prefix":"fb6b23c08d77f532","mcp_get_code":{"code_sha256":"fb6b23c08d77f532"}},{"arxiv_id":"2306.14435","arxiv_id_is_arxiv":true,"paper":"/paper/dragdiffusion-harnessing-diffusion-models-for","title":"DragDiffusion: Harnessing Diffusion Models for Interactive Point-based Image Editing","date":"2023-06-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"HimariO/DragDiffusion-diffusers","path":"drag_inpaint_pipeline.py","file_url":"https://github.com/HimariO/DragDiffusion-diffusers/blob/HEAD/drag_inpaint_pipeline.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"564d1e2f74eb0245","code_sha256_prefix":"564d1e2f74eb0245","mcp_get_code":{"code_sha256":"564d1e2f74eb0245"}},{"arxiv_id":"1805.08318","arxiv_id_is_arxiv":true,"paper":"/paper/self-attention-generative-adversarial","title":"Self-Attention Generative Adversarial Networks","date":"2018-05-21","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"vijishmadhavan/SkinDeep","path":"src/pipeline_stable_diffusion_controlnet_inpaint.py","file_url":"https://github.com/vijishmadhavan/SkinDeep/blob/HEAD/src/pipeline_stable_diffusion_controlnet_inpaint.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"2adc88ed4c50017c","code_sha256_prefix":"2adc88ed4c50017c","mcp_get_code":{"code_sha256":"2adc88ed4c50017c"}}],"record_sha256":"52f03ce6a55f22952fbff8882e773e6a361bcc99dd1025185870a090649b0145","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}