{"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/dmplug-a-plug-in-method-for-solving-inverse","title":"DMPlug: A Plug-in Method for Solving Inverse Problems with Diffusion Models","arxiv_id":"2405.16749","date":"2024-05-27","proceeding":null,"authors":["Hengkang Wang","Xu Zhang","Taihui Li","Yuxiang Wan","Tiancong Chen","Ju Sun"],"abstract":"Pretrained diffusion models (DMs) have recently been popularly used in solving inverse problems (IPs). The existing methods mostly interleave iterative steps in the reverse diffusion process and iterative steps to bring the iterates closer to satisfying the measurement constraint. However, such interleaving methods struggle to produce final results that look like natural objects of interest (i.e., manifold feasibility) and fit the measurement (i.e., measurement feasibility), especially for nonlinear IPs. Moreover, their capabilities to deal with noisy IPs with unknown types and levels of measurement noise are unknown. In this paper, we advocate viewing the reverse process in DMs as a function and propose a novel plug-in method for solving IPs using pretrained DMs, dubbed DMPlug. DMPlug addresses the issues of manifold feasibility and measurement feasibility in a principled manner, and also shows great potential for being robust to unknown types and levels of noise. Through extensive experiments across various IP tasks, including two linear and three nonlinear IPs, we demonstrate that DMPlug consistently outperforms state-of-the-art methods, often by large margins especially for nonlinear IPs. The code is available at https://github.com/sun-umn/DMPlug.","url_abs":"https://arxiv.org/abs/2405.16749v2","url_pdf":"https://arxiv.org/pdf/2405.16749v2.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":"dmplug-a-plug-in-method-for-solving-inverse","repo_url":"https://github.com/sun-umn/dmplug","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.16749","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.16749"}},"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":"deterministic:regex_extraction","url":"https://github.com/DPS2022/diffusion-posterior-sampling","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/sun-umn/DMPlug","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/kanglin755/plug_and_play_admm","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/mengxiangming/dmps","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/bahjat-kawar/ddrm","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/jychoi118/ilvr_adm","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/soominkwon/resample","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/VinAIResearch/blur-kernel-space-exploring","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/csdwren/SelfDeblur","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/VITA-Group/DeblurGANv2","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/pp00704831/Stripformer-ECCV-2022-","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/swz30/MPRNet","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/BlindDPS/blind-dps","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/ZehaoDou-official/FPS-SMC-2023","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/yuanzhi-zhu/DiffPIR","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sun-umn/dmplug","reach":null}],"summary":{"ran_draft_wrong":12,"ran":20,"ran_honours":5,"ran_fixture":1,"unverified":22},"by_repo_kind":{"official":{"samples":7,"ran":3,"repositories":1},"found_in_text":{"samples":51,"ran":33,"repositories":11}},"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":41,"samples":[{"code_sha256_prefix":"8ab9a97df8161f31","entry":"center_crop_arr","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/image_datasets.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/image_datasets.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":2,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ab9a97df8161f31"}},{"code_sha256_prefix":"77224ae152b1372f","entry":"load_yaml","repo":"sun-umn/DMPlug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/DMPlug/blob/HEAD/sr_inp_nonlinear.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":2,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"77224ae152b1372f"}},{"code_sha256_prefix":"8cb6b62758ca0c71","entry":"GaussianDiffusion","repo":"jychoi118/ilvr_adm","repo_kind":"found_in_text","path":"guided_diffusion/respace.py","file_url":"https://github.com/jychoi118/ilvr_adm/blob/HEAD/guided_diffusion/respace.py","link_basis":"first_harvest_node","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":"8cb6b62758ca0c71"}},{"code_sha256_prefix":"3675e481e23792fa","entry":"ManifoldConstraintGradient","repo":"ZehaoDou-official/FPS-SMC-2023","repo_kind":"found_in_text","path":"guided_diffusion/condition_methods.py","file_url":"https://github.com/ZehaoDou-official/FPS-SMC-2023/blob/HEAD/guided_diffusion/condition_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3675e481e23792fa"}},{"code_sha256_prefix":"d22a74c8bb22f07f","entry":"PosteriorSampling","repo":"soominkwon/resample","repo_kind":"found_in_text","path":"ldm_inverse/condition_methods.py","file_url":"https://github.com/soominkwon/resample/blob/HEAD/ldm_inverse/condition_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d22a74c8bb22f07f"}},{"code_sha256_prefix":"45edd4ab056a32fa","entry":"PosteriorSampling_meng","repo":"mengxiangming/dmps","repo_kind":"found_in_text","path":"guided_diffusion/condition_methods.py","file_url":"https://github.com/mengxiangming/dmps/blob/HEAD/guided_diffusion/condition_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"45edd4ab056a32fa"}},{"code_sha256_prefix":"6701d38dd36970fa","entry":"_WrappedModel","repo":"BlindDPS/blind-dps","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/BlindDPS/blind-dps/blob/HEAD/guided_diffusion/gaussian_diffusion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6701d38dd36970fa"}},{"code_sha256_prefix":"e3edcd371d85dd22","entry":"act","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"models/common.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/models/common.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e3edcd371d85dd22"}},{"code_sha256_prefix":"cfd76fd0d89574a4","entry":"approx_standard_normal_cdf","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/losses.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/losses.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cfd76fd0d89574a4"}},{"code_sha256_prefix":"2ab2316ac6fdd869","entry":"betas_for_alpha_bar","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/gaussian_diffusion.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2ab2316ac6fdd869"}},{"code_sha256_prefix":"cd7e7024386fb823","entry":"bn","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"models/common.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/models/common.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cd7e7024386fb823"}},{"code_sha256_prefix":"9215fb189fbfb9f4","entry":"compute_alpha","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"9215fb189fbfb9f4"}},{"code_sha256_prefix":"91fa50e293bf2fde","entry":"compute_psnr","repo":"pp00704831/Stripformer-ECCV-2022-","repo_kind":"found_in_text","path":"evaluate_RealBlur_J.py","file_url":"https://github.com/pp00704831/Stripformer-ECCV-2022-/blob/HEAD/evaluate_RealBlur_J.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"91fa50e293bf2fde"}},{"code_sha256_prefix":"040cc21cdcd6aae9","entry":"conv","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"models/common.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/models/common.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"040cc21cdcd6aae9"}},{"code_sha256_prefix":"a0131fb70c267a9e","entry":"conv_1x1_bn","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"models/mobilenet_v2.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/models/mobilenet_v2.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a0131fb70c267a9e"}},{"code_sha256_prefix":"e087cbfa1e53486d","entry":"conv_bn","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"models/mobilenet_v2.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/models/mobilenet_v2.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e087cbfa1e53486d"}},{"code_sha256_prefix":"6154e3744ece5728","entry":"create_window","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"SSIM.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/SSIM.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6154e3744ece5728"}},{"code_sha256_prefix":"cd33283d615fb3d7","entry":"discretized_gaussian_log_likelihood","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/losses.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/losses.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cd33283d615fb3d7"}},{"code_sha256_prefix":"c56b7ef16f309a45","entry":"gaussian","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"SSIM.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/SSIM.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c56b7ef16f309a45"}},{"code_sha256_prefix":"0e96d793b5f1d7dd","entry":"get_fullD","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"models/networks.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/models/networks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"0e96d793b5f1d7dd"}},{"code_sha256_prefix":"7aa5f3eab66d010a","entry":"get_kernel","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"models/downsampler.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/models/downsampler.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7aa5f3eab66d010a"}},{"code_sha256_prefix":"a086d6286a40b889","entry":"get_named_beta_schedule","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/gaussian_diffusion.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a086d6286a40b889"}},{"code_sha256_prefix":"b63de0bdabb1c981","entry":"get_norm_layer","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"models/networks.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/models/networks.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b63de0bdabb1c981"}},{"code_sha256_prefix":"e41367ad14ff58fd","entry":"get_param_groups_and_shapes","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/fp16_util.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/fp16_util.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":"e41367ad14ff58fd"}},{"code_sha256_prefix":"d0f818fa0b61082c","entry":"get_transforms","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"aug.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/aug.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d0f818fa0b61082c"}},{"code_sha256_prefix":"49d0f322386ff244","entry":"hash_from_paths","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"dataset.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"49d0f322386ff244"}},{"code_sha256_prefix":"e20dd5102da3b050","entry":"make_master_params","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/fp16_util.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/fp16_util.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":"e20dd5102da3b050"}},{"code_sha256_prefix":"bcd8b4acab199405","entry":"make_output_format","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/logger.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/logger.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":"bcd8b4acab199405"}},{"code_sha256_prefix":"49f7ae5cbcb10534","entry":"mask_generator","repo":"sun-umn/dmplug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/dmplug/blob/HEAD/sr_inp_nonlinear.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":"49f7ae5cbcb10534"}},{"code_sha256_prefix":"cf2798b666b231ca","entry":"normal_kl","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/losses.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/losses.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cf2798b666b231ca"}},{"code_sha256_prefix":"408a3cd56a9879c6","entry":"pnp_admm","repo":"kanglin755/plug_and_play_admm","repo_kind":"found_in_text","path":"pnp.py","file_url":"https://github.com/kanglin755/plug_and_play_admm/blob/HEAD/pnp.py","link_basis":"first_harvest_node","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":"408a3cd56a9879c6"}},{"code_sha256_prefix":"b79aca843e426a89","entry":"random_sq_bbox","repo":"sun-umn/dmplug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/dmplug/blob/HEAD/sr_inp_nonlinear.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b79aca843e426a89"}},{"code_sha256_prefix":"8027fc71dcbcfc45","entry":"register_conditioning_method","repo":"ZehaoDou-official/FPS-SMC-2023","repo_kind":"found_in_text","path":"guided_diffusion/condition_methods.py","file_url":"https://github.com/ZehaoDou-official/FPS-SMC-2023/blob/HEAD/guided_diffusion/condition_methods.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8027fc71dcbcfc45"}},{"code_sha256_prefix":"d9bb4d03137bc7e9","entry":"register_sampler","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"d9bb4d03137bc7e9"}},{"code_sha256_prefix":"ff10ec72adb6df8c","entry":"split_into_buckets","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"dataset.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ff10ec72adb6df8c"}},{"code_sha256_prefix":"8b2b14a90a19fbe2","entry":"test","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"utils/utils_model.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/utils/utils_model.py","link_basis":"first_harvest_node","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":"8b2b14a90a19fbe2"}},{"code_sha256_prefix":"666e66f755ba5374","entry":"test_pad","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"utils/utils_model.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/utils/utils_model.py","link_basis":"first_harvest_node","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":"666e66f755ba5374"}},{"code_sha256_prefix":"64fff1e30802b815","entry":"unflatten_master_params","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/fp16_util.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/fp16_util.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":"64fff1e30802b815"}},{"code_sha256_prefix":"f404eb41e1c72063","entry":"BlindDPS","repo":"BlindDPS/blind-dps","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/BlindDPS/blind-dps/blob/HEAD/guided_diffusion/gaussian_diffusion.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":"f404eb41e1c72063"}},{"code_sha256_prefix":"45abc6d9d49d023d","entry":"ConditioningMethod","repo":"ZehaoDou-official/FPS-SMC-2023","repo_kind":"found_in_text","path":"guided_diffusion/condition_methods.py","file_url":"https://github.com/ZehaoDou-official/FPS-SMC-2023/blob/HEAD/guided_diffusion/condition_methods.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":"45abc6d9d49d023d"}},{"code_sha256_prefix":"424173e3f369bf65","entry":"ConditioningMethod","repo":"soominkwon/resample","repo_kind":"found_in_text","path":"ldm_inverse/condition_methods.py","file_url":"https://github.com/soominkwon/resample/blob/HEAD/ldm_inverse/condition_methods.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":"424173e3f369bf65"}},{"code_sha256_prefix":"fd913a588001391e","entry":"DDPM","repo":"BlindDPS/blind-dps","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/BlindDPS/blind-dps/blob/HEAD/guided_diffusion/gaussian_diffusion.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":"fd913a588001391e"}},{"code_sha256_prefix":"4c395cb9de5462ee","entry":"GaussianDiffusion","repo":"BlindDPS/blind-dps","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/BlindDPS/blind-dps/blob/HEAD/guided_diffusion/gaussian_diffusion.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":"4c395cb9de5462ee"}},{"code_sha256_prefix":"51ab54cb116c5d1b","entry":"SpacedDiffusion","repo":"BlindDPS/blind-dps","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/BlindDPS/blind-dps/blob/HEAD/guided_diffusion/gaussian_diffusion.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":"51ab54cb116c5d1b"}},{"code_sha256_prefix":"e8c5e9f4db80bfcb","entry":"SpacedDiffusion","repo":"jychoi118/ilvr_adm","repo_kind":"found_in_text","path":"guided_diffusion/respace.py","file_url":"https://github.com/jychoi118/ilvr_adm/blob/HEAD/guided_diffusion/respace.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":"e8c5e9f4db80bfcb"}},{"code_sha256_prefix":"edca27d48197ef50","entry":"clear_color","repo":"BlindDPS/blind-dps","repo_kind":"found_in_text","path":"guided_diffusion/gaussian_diffusion.py","file_url":"https://github.com/BlindDPS/blind-dps/blob/HEAD/guided_diffusion/gaussian_diffusion.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":"edca27d48197ef50"}},{"code_sha256_prefix":"228f6454d1f15124","entry":"clear_color","repo":"sun-umn/dmplug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/dmplug/blob/HEAD/sr_inp_nonlinear.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":"228f6454d1f15124"}},{"code_sha256_prefix":"464c3d3b7a1eb4b3","entry":"compute_ssim","repo":"pp00704831/Stripformer-ECCV-2022-","repo_kind":"found_in_text","path":"evaluate_RealBlur_J.py","file_url":"https://github.com/pp00704831/Stripformer-ECCV-2022-/blob/HEAD/evaluate_RealBlur_J.py","link_basis":"harvester_set","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":"464c3d3b7a1eb4b3"}},{"code_sha256_prefix":"0c188528aae11871","entry":"dmplug","repo":"sun-umn/dmplug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/dmplug/blob/HEAD/sr_inp_nonlinear.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":"0c188528aae11871"}},{"code_sha256_prefix":"cbe30e9461c88717","entry":"efficient_generalized_steps","repo":"bahjat-kawar/ddrm","repo_kind":"found_in_text","path":"functions/denoising.py","file_url":"https://github.com/bahjat-kawar/ddrm/blob/HEAD/functions/denoising.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":"cbe30e9461c88717"}},{"code_sha256_prefix":"df49c8cd803b8af3","entry":"get_corrupt_function","repo":"VITA-Group/DeblurGANv2","repo_kind":"found_in_text","path":"aug.py","file_url":"https://github.com/VITA-Group/DeblurGANv2/blob/HEAD/aug.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"df49c8cd803b8af3"}},{"code_sha256_prefix":"1542a78f6b08854f","entry":"get_loss","repo":"pp00704831/Stripformer-ECCV-2022-","repo_kind":"found_in_text","path":"models/losses.py","file_url":"https://github.com/pp00704831/Stripformer-ECCV-2022-/blob/HEAD/models/losses.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1542a78f6b08854f"}},{"code_sha256_prefix":"6eb7012cf0ec3021","entry":"get_noise","repo":"sun-umn/dmplug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/dmplug/blob/HEAD/sr_inp_nonlinear.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":"6eb7012cf0ec3021"}},{"code_sha256_prefix":"bbb1be64bf961d18","entry":"get_operator","repo":"sun-umn/dmplug","repo_kind":"official","path":"sr_inp_nonlinear.py","file_url":"https://github.com/sun-umn/dmplug/blob/HEAD/sr_inp_nonlinear.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":"bbb1be64bf961d18"}},{"code_sha256_prefix":"fca6d857d5c36155","entry":"get_transforms","repo":"pp00704831/Stripformer-ECCV-2022-","repo_kind":"found_in_text","path":"aug.py","file_url":"https://github.com/pp00704831/Stripformer-ECCV-2022-/blob/HEAD/aug.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"fca6d857d5c36155"}},{"code_sha256_prefix":"5038ac50ef83af3a","entry":"image_align","repo":"pp00704831/Stripformer-ECCV-2022-","repo_kind":"found_in_text","path":"evaluate_RealBlur_J.py","file_url":"https://github.com/pp00704831/Stripformer-ECCV-2022-/blob/HEAD/evaluate_RealBlur_J.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"5038ac50ef83af3a"}},{"code_sha256_prefix":"e515a67f7f32e76d","entry":"mpi_weighted_mean","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/logger.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/logger.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":"e515a67f7f32e76d"}},{"code_sha256_prefix":"0c6607473a4c4c55","entry":"profile","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/logger.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/logger.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":"0c6607473a4c4c55"}},{"code_sha256_prefix":"53d5be4fdbcfac23","entry":"random_crop_arr","repo":"yuanzhi-zhu/DiffPIR","repo_kind":"found_in_text","path":"guided_diffusion/image_datasets.py","file_url":"https://github.com/yuanzhi-zhu/DiffPIR/blob/HEAD/guided_diffusion/image_datasets.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":"53d5be4fdbcfac23"}},{"code_sha256_prefix":"9151c793f90473f0","entry":"ssim","repo":"csdwren/SelfDeblur","repo_kind":"found_in_text","path":"SSIM.py","file_url":"https://github.com/csdwren/SelfDeblur/blob/HEAD/SSIM.py","link_basis":"harvester_set","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":"9151c793f90473f0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}