{"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/swinir-image-restoration-using-swin","title":"SwinIR: Image Restoration Using Swin Transformer","arxiv_id":"2108.10257","date":"2021-08-23","proceeding":null,"authors":["Jingyun Liang","JieZhang Cao","Guolei Sun","Kai Zhang","Luc van Gool","Radu Timofte"],"abstract":"Image restoration is a long-standing low-level vision problem that aims to restore high-quality images from low-quality images (e.g., downscaled, noisy and compressed images). While state-of-the-art image restoration methods are based on convolutional neural networks, few attempts have been made with Transformers which show impressive performance on high-level vision tasks. In this paper, we propose a strong baseline model SwinIR for image restoration based on the Swin Transformer. SwinIR consists of three parts: shallow feature extraction, deep feature extraction and high-quality image reconstruction. In particular, the deep feature extraction module is composed of several residual Swin Transformer blocks (RSTB), each of which has several Swin Transformer layers together with a residual connection. We conduct experiments on three representative tasks: image super-resolution (including classical, lightweight and real-world image super-resolution), image denoising (including grayscale and color image denoising) and JPEG compression artifact reduction. Experimental results demonstrate that SwinIR outperforms state-of-the-art methods on different tasks by $\\textbf{up to 0.14$\\sim$0.45dB}$, while the total number of parameters can be reduced by $\\textbf{up to 67%}$.","url_abs":"https://arxiv.org/abs/2108.10257v1","url_pdf":"https://arxiv.org/pdf/2108.10257v1.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":"swinir-image-restoration-using-swin","repo_url":"https://github.com/jingyunliang/swinir","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/ayanglab/swinganmr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/ayanglab/swinmr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/jingyunliang/vrt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/mv-lab/swin2sr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/rami0205/ngramswin","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/skchen1993/SwinIR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/XPixelGroup/BasicSR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"swinir-image-restoration-using-swin","repo_url":"https://github.com/pilot7747/sldl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"color-image-denoising","task_name":"Color Image Denoising"},{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"grayscale-image-denoising","task_name":"Grayscale Image Denoising"},{"task_slug":"image-denoising","task_name":"Image Denoising"},{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"},{"task_slug":"image-restoration","task_name":"Image Restoration"},{"task_slug":"image-super-resolution","task_name":"Image Super-Resolution"},{"task_slug":"jpeg-compression-artifact-reduction","task_name":"Jpeg Compression Artifact Reduction"},{"task_slug":"super-resolution","task_name":"Super-Resolution"},{"task_slug":"video-super-resolution","task_name":"Video Super-Resolution"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"stochastic-depth","method_name":"Stochastic Depth"},{"method_slug":"swin-transformer","method_name":"Swin Transformer"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/color-image-denoising-on-kodak24-sigma50","task":"Color Image Denoising","dataset":"Kodak24 sigma50","model":"SwinIR","rank_in_archive_order":6,"of":9,"metrics":{"PSNR":"29.79"},"uses_additional_data":false},{"leaderboard":"/sota/color-image-denoising-on-urban100-sigma10","task":"Color Image Denoising","dataset":"Urban100 sigma10","model":"SwinIR","rank_in_archive_order":2,"of":2,"metrics":{"PSNR":"35.13"},"uses_additional_data":false},{"leaderboard":"/sota/color-image-denoising-on-urban100-sigma25","task":"Color Image Denoising","dataset":"Urban100 sigma25","model":"SwinIR","rank_in_archive_order":5,"of":6,"metrics":{"PSNR":"32.9"},"uses_additional_data":false},{"leaderboard":"/sota/color-image-denoising-on-urban100-sigma50","task":"Color Image Denoising","dataset":"Urban100 sigma50","model":"SwinIR","rank_in_archive_order":6,"of":9,"metrics":{"PSNR":"29.82"},"uses_additional_data":false},{"leaderboard":"/sota/color-image-denoising-on-urban100-sigma15-1","task":"Color Image Denoising","dataset":"urban100 sigma15","model":"SwinIR","rank_in_archive_order":5,"of":8,"metrics":{"Average PSNR":"35.13"},"uses_additional_data":false},{"leaderboard":"/sota/grayscale-image-denoising-on-bsd68-sigma15","task":"Grayscale Image Denoising","dataset":"BSD68 sigma15","model":"SwinIR","rank_in_archive_order":3,"of":16,"metrics":{"PSNR":"31.97"},"uses_additional_data":false},{"leaderboard":"/sota/grayscale-image-denoising-on-urban100-sigma15","task":"Grayscale Image Denoising","dataset":"Urban100 sigma15","model":"SwinIR","rank_in_archive_order":2,"of":7,"metrics":{"PSNR":"33.70"},"uses_additional_data":false},{"leaderboard":"/sota/grayscale-image-denoising-on-urban100-sigma25","task":"Grayscale Image Denoising","dataset":"Urban100 sigma25","model":"SwinIR","rank_in_archive_order":5,"of":10,"metrics":{"PSNR":"31.3"},"uses_additional_data":false},{"leaderboard":"/sota/grayscale-image-denoising-on-urban100-sigma50","task":"Grayscale Image Denoising","dataset":"Urban100 sigma50","model":"SwinIR","rank_in_archive_order":5,"of":10,"metrics":{"PSNR":"27.98"},"uses_additional_data":false},{"leaderboard":"/sota/image-super-resolution-on-manga109-4x","task":"Image Super-Resolution","dataset":"Manga109 - 4x upscaling","model":"SwinIR","rank_in_archive_order":16,"of":50,"metrics":{"PSNR":"32.22","SSIM":"0.9273"},"uses_additional_data":false},{"leaderboard":"/sota/image-super-resolution-on-set14-4x-upscaling","task":"Image Super-Resolution","dataset":"Set14 - 4x upscaling","model":"SwinIR","rank_in_archive_order":22,"of":104,"metrics":{"PSNR":"29.15","SSIM":"0.7958"},"uses_additional_data":false},{"leaderboard":"/sota/image-super-resolution-on-urban100-4x","task":"Image Super-Resolution","dataset":"Urban100 - 4x upscaling","model":"SwinIR","rank_in_archive_order":15,"of":65,"metrics":{"PSNR":"27.45","SSIM":"0.8254 "},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-super-1","task":"Video Super-Resolution","dataset":"MSU Super-Resolution for Video Compression","model":"SwinIR + x264","rank_in_archive_order":3,"of":85,"metrics":{"BSQ-rate over ERQA":"0.76","BSQ-rate over LPIPS":"0.559","BSQ-rate over MS-SSIM":"0.736","BSQ-rate over PSNR":"6.268","BSQ-rate over Subjective Score":"0.304","BSQ-rate over VMAF":"0.642"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-super-1","task":"Video Super-Resolution","dataset":"MSU Super-Resolution for Video Compression","model":"SwinIR + x265","rank_in_archive_order":5,"of":85,"metrics":{"BSQ-rate over ERQA":"1.575","BSQ-rate over LPIPS":"1.474","BSQ-rate over MS-SSIM":"4.641","BSQ-rate over PSNR":"8.13","BSQ-rate over Subjective Score":"0.346","BSQ-rate over VMAF":"1.304"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-super-1","task":"Video Super-Resolution","dataset":"MSU Super-Resolution for Video Compression","model":"SwinIR + uavs3e","rank_in_archive_order":9,"of":85,"metrics":{"BSQ-rate over ERQA":"6.803","BSQ-rate over LPIPS":"1.671","BSQ-rate over MS-SSIM":"4.411","BSQ-rate over PSNR":"15.144","BSQ-rate over Subjective Score":"0.639","BSQ-rate over VMAF":"1.848"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-super-1","task":"Video Super-Resolution","dataset":"MSU Super-Resolution for Video Compression","model":"SwinIR + aomenc","rank_in_archive_order":14,"of":85,"metrics":{"BSQ-rate over ERQA":"10.854","BSQ-rate over LPIPS":"4.566","BSQ-rate over MS-SSIM":"7.105","BSQ-rate over PSNR":"15.144","BSQ-rate over Subjective Score":"0.835","BSQ-rate over VMAF":"3.32"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-super-1","task":"Video Super-Resolution","dataset":"MSU Super-Resolution for Video Compression","model":"SwinIR + vvenc","rank_in_archive_order":20,"of":85,"metrics":{"BSQ-rate over ERQA":"6.624","BSQ-rate over LPIPS":"1.552","BSQ-rate over MS-SSIM":"5.758","BSQ-rate over PSNR":"8.971","BSQ-rate over Subjective Score":"1.35","BSQ-rate over VMAF":"0.887"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-vsr-benchmark","task":"Video Super-Resolution","dataset":"MSU Video Super Resolution Benchmark: Detail Restoration","model":"SwinIR","rank_in_archive_order":23,"of":32,"metrics":{"1 - LPIPS":"0.895","ERQAv1.0":"0.618","FPS":"0.407","PSNR":"25.12","QRCRv1.0":"0","SSIM":"0.782","Subjective score":"4.799"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-video-upscalers","task":"Video Super-Resolution","dataset":"MSU Video Upscalers: Quality Enhancement","model":"SwinIR-Real-B","rank_in_archive_order":4,"of":48,"metrics":{"LPIPS":"0.183","PSNR":"28.86","SSIM":"0.830"},"uses_additional_data":false},{"leaderboard":"/sota/video-super-resolution-on-msu-video-upscalers","task":"Video Super-Resolution","dataset":"MSU Video Upscalers: Quality Enhancement","model":"SwinIR-Real-S","rank_in_archive_order":7,"of":48,"metrics":{"LPIPS":"0.189","PSNR":"28.55","SSIM":"0.845"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2108.10257","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.10257"}},"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/XPixelGroup/BasicSR","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mv-lab/swin2sr","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rami0205/ngramswin","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ayanglab/swinmr","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pilot7747/sldl","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/skchen1993/SwinIR","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jingyunliang/vrt","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jingyunliang/swinir","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ayanglab/swinganmr","reach":null}],"summary":{"ran_fixture":7,"ran":16,"ran_draft_wrong":7,"unverified":15},"by_repo_kind":{"official":{"samples":3,"ran":1,"repositories":1},"listed":{"samples":40,"ran":27,"repositories":5}},"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":5,"samples":[{"code_sha256_prefix":"144d10b49baeb8a6","entry":"window_partition","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"144d10b49baeb8a6"}},{"code_sha256_prefix":"9b7e99667d6f97b5","entry":"Mlp","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9b7e99667d6f97b5"}},{"code_sha256_prefix":"c3d1df420e59f005","entry":"PatchEmbed","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c3d1df420e59f005"}},{"code_sha256_prefix":"f1109f9b1b73dca7","entry":"PatchEmbed","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f1109f9b1b73dca7"}},{"code_sha256_prefix":"2d3ebe5f83f401e2","entry":"PatchUnEmbed","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2d3ebe5f83f401e2"}},{"code_sha256_prefix":"926e8d276bb28da7","entry":"PatchUnEmbed","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"926e8d276bb28da7"}},{"code_sha256_prefix":"1ca0dd483faa6682","entry":"PatchUnEmbed","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1ca0dd483faa6682"}},{"code_sha256_prefix":"83d329df57a93e38","entry":"RSTB","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"83d329df57a93e38"}},{"code_sha256_prefix":"c9ad6c972cd89083","entry":"RSTB","repo":"skchen1993/SwinIR","repo_kind":"listed","path":"models/network_swinir.py","file_url":"https://github.com/skchen1993/SwinIR/blob/HEAD/models/network_swinir.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":"c9ad6c972cd89083"}},{"code_sha256_prefix":"15fea014fc69f0c6","entry":"SwinIR","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"15fea014fc69f0c6"}},{"code_sha256_prefix":"d4fd867e299aa381","entry":"Upsample","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d4fd867e299aa381"}},{"code_sha256_prefix":"66093c479a99786e","entry":"UpsampleOneStep","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"66093c479a99786e"}},{"code_sha256_prefix":"ffe7885c0403a8ad","entry":"UpsampleOneStep","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ffe7885c0403a8ad"}},{"code_sha256_prefix":"d32e066d4cc1a4ce","entry":"Upsample_hf","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d32e066d4cc1a4ce"}},{"code_sha256_prefix":"6184e406e3b12051","entry":"WindowAttention","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6184e406e3b12051"}},{"code_sha256_prefix":"0b773949f1dbd046","entry":"WindowAttention","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0b773949f1dbd046"}},{"code_sha256_prefix":"a79acfc7f5245c04","entry":"WindowAttention","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a79acfc7f5245c04"}},{"code_sha256_prefix":"c30c007e9c6365e0","entry":"_no_grad_trunc_normal_","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c30c007e9c6365e0"}},{"code_sha256_prefix":"52d96aa31ed74a56","entry":"drop_path","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"52d96aa31ed74a56"}},{"code_sha256_prefix":"c1dd0848500dd803","entry":"setup","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"main_test_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/main_test_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c1dd0848500dd803"}},{"code_sha256_prefix":"31b521c272528885","entry":"setup","repo":"jingyunliang/swinir","repo_kind":"official","path":"main_test_swinir.py","file_url":"https://github.com/jingyunliang/swinir/blob/HEAD/main_test_swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"31b521c272528885"}},{"code_sha256_prefix":"0af416f19e3851c1","entry":"trunc_normal_","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0af416f19e3851c1"}},{"code_sha256_prefix":"60363d0620f5778d","entry":"window_partition","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"60363d0620f5778d"}},{"code_sha256_prefix":"f9fd6241d935f07b","entry":"window_partition","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f9fd6241d935f07b"}},{"code_sha256_prefix":"2e2b1611530d7466","entry":"window_partition","repo":"rami0205/ngramswin","repo_kind":"listed","path":"my_model/ngswin_model/win_partition.py","file_url":"https://github.com/rami0205/ngramswin/blob/HEAD/my_model/ngswin_model/win_partition.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2e2b1611530d7466"}},{"code_sha256_prefix":"def274ea4faeed8e","entry":"window_partition","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"def274ea4faeed8e"}},{"code_sha256_prefix":"61bf152e6a42a184","entry":"window_reverse","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":"61bf152e6a42a184"}},{"code_sha256_prefix":"4f003e9ad9b7a7cb","entry":"window_reverse","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4f003e9ad9b7a7cb"}},{"code_sha256_prefix":"fb32094c6dbece71","entry":"window_reverse","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fb32094c6dbece71"}},{"code_sha256_prefix":"f424ec76ee33ee41","entry":"window_reverse","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f424ec76ee33ee41"}},{"code_sha256_prefix":"b8c4b72467b45853","entry":"BasicLayer","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b8c4b72467b45853"}},{"code_sha256_prefix":"4b45c8b3f6e06e21","entry":"BasicLayer","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4b45c8b3f6e06e21"}},{"code_sha256_prefix":"c0fa116516c7281e","entry":"BasicLayer","repo":"skchen1993/SwinIR","repo_kind":"listed","path":"models/network_swinir.py","file_url":"https://github.com/skchen1993/SwinIR/blob/HEAD/models/network_swinir.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":"c0fa116516c7281e"}},{"code_sha256_prefix":"b03980f33707e7ed","entry":"BasicLayer","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b03980f33707e7ed"}},{"code_sha256_prefix":"0ad2bdf7da7fee45","entry":"PatchEmbed","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0ad2bdf7da7fee45"}},{"code_sha256_prefix":"5b79ebccea629915","entry":"RSTB","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5b79ebccea629915"}},{"code_sha256_prefix":"13721b7fb0c3449e","entry":"RSTB","repo":"jingyunliang/swinir","repo_kind":"official","path":"models/network_swinir.py","file_url":"https://github.com/jingyunliang/swinir/blob/HEAD/models/network_swinir.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"13721b7fb0c3449e"}},{"code_sha256_prefix":"f56a662c7641524f","entry":"RSTB","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f56a662c7641524f"}},{"code_sha256_prefix":"eeeeae50440c5756","entry":"Swin2SR","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eeeeae50440c5756"}},{"code_sha256_prefix":"d59939ffe142f76f","entry":"SwinIR","repo":"skchen1993/SwinIR","repo_kind":"listed","path":"models/network_swinir.py","file_url":"https://github.com/skchen1993/SwinIR/blob/HEAD/models/network_swinir.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":"d59939ffe142f76f"}},{"code_sha256_prefix":"a8c3f25f547b1cd4","entry":"SwinIR","repo":"jingyunliang/swinir","repo_kind":"official","path":"models/network_swinir.py","file_url":"https://github.com/jingyunliang/swinir/blob/HEAD/models/network_swinir.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a8c3f25f547b1cd4"}},{"code_sha256_prefix":"b6fd49729a87480e","entry":"SwinIR","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b6fd49729a87480e"}},{"code_sha256_prefix":"21b564ba0365248a","entry":"SwinTransformerBlock","repo":"pilot7747/sldl","repo_kind":"listed","path":"sldl/image/swinir.py","file_url":"https://github.com/pilot7747/sldl/blob/HEAD/sldl/image/swinir.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"21b564ba0365248a"}},{"code_sha256_prefix":"f09171fe10737272","entry":"SwinTransformerBlock","repo":"mv-lab/swin2sr","repo_kind":"listed","path":"models/network_swin2sr.py","file_url":"https://github.com/mv-lab/swin2sr/blob/HEAD/models/network_swin2sr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f09171fe10737272"}},{"code_sha256_prefix":"16d322e629d07ccc","entry":"SwinTransformerBlock","repo":"XPixelGroup/BasicSR","repo_kind":"listed","path":"basicsr/archs/swinir_arch.py","file_url":"https://github.com/XPixelGroup/BasicSR/blob/HEAD/basicsr/archs/swinir_arch.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"16d322e629d07ccc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}