{"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/sinir-efficient-general-image-manipulation","title":"SinIR: Efficient General Image Manipulation with Single Image Reconstruction","arxiv_id":"2106.07140","date":"2021-06-14","proceeding":null,"authors":["Jihyeong Yoo","Qifeng Chen"],"abstract":"We propose SinIR, an efficient reconstruction-based framework trained on a single natural image for general image manipulation, including super-resolution, editing, harmonization, paint-to-image, photo-realistic style transfer, and artistic style transfer. We train our model on a single image with cascaded multi-scale learning, where each network at each scale is responsible for image reconstruction. This reconstruction objective greatly reduces the complexity and running time of training, compared to the GAN objective. However, the reconstruction objective also exacerbates the output quality. Therefore, to solve this problem, we further utilize simple random pixel shuffling, which also gives control over manipulation, inspired by the Denoising Autoencoder. With quantitative evaluation, we show that SinIR has competitive performance on various image manipulation tasks. Moreover, with a much simpler training objective (i.e., reconstruction), SinIR is trained 33.5 times faster than SinGAN (for 500 X 500 images) that solves similar tasks. Our code is publicly available at github.com/YooJiHyeong/SinIR.","url_abs":"https://arxiv.org/abs/2106.07140v1","url_pdf":"https://arxiv.org/pdf/2106.07140v1.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":"sinir-efficient-general-image-manipulation","repo_url":"https://github.com/YooJiHyeong/SinIR","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"image-manipulation","task_name":"Image Manipulation"},{"task_slug":"image-reconstruction","task_name":"Image Reconstruction"},{"task_slug":"style-transfer","task_name":"Style Transfer"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[{"method_slug":"denoising-autoencoder","method_name":"Denoising Autoencoder"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2106.07140","atlas_url":"https://app.syntology.ai/?focus=2106.07140","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.07140"}},"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":"deterministic:regex_extraction","url":"https://github.com/YooJiHyeong/SinIR","reach":null}],"summary":{"ran":2,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":3,"ran":3,"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":3,"samples":[{"code_sha256_prefix":"396ec2a0cca0a7fd","entry":"ConvBlock","repo":"YooJiHyeong/SinIR","repo_kind":"official","path":"networks/network.py","file_url":"https://github.com/YooJiHyeong/SinIR/blob/HEAD/networks/network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"396ec2a0cca0a7fd"}},{"code_sha256_prefix":"d4f530ba51be73d8","entry":"Network","repo":"YooJiHyeong/SinIR","repo_kind":"official","path":"networks/network.py","file_url":"https://github.com/YooJiHyeong/SinIR/blob/HEAD/networks/network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d4f530ba51be73d8"}},{"code_sha256_prefix":"1e42493092ba121c","entry":"make_save_dir","repo":"YooJiHyeong/SinIR","repo_kind":"official","path":"infer.py","file_url":"https://github.com/YooJiHyeong/SinIR/blob/HEAD/infer.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1e42493092ba121c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}