{"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/coco-gan-generation-by-parts-via-conditional","title":"COCO-GAN: Generation by Parts via Conditional Coordinating","arxiv_id":"1904.00284","date":"2019-03-30","proceeding":"ICCV 2019 10","authors":["Chieh Hubert Lin","Chia-Che Chang","Yu-Sheng Chen","Da-Cheng Juan","Wei Wei","Hwann-Tzong Chen"],"abstract":"Humans can only interact with part of the surrounding environment due to biological restrictions. Therefore, we learn to reason the spatial relationships across a series of observations to piece together the surrounding environment. Inspired by such behavior and the fact that machines also have computational constraints, we propose \\underline{CO}nditional \\underline{CO}ordinate GAN (COCO-GAN) of which the generator generates images by parts based on their spatial coordinates as the condition. On the other hand, the discriminator learns to justify realism across multiple assembled patches by global coherence, local appearance, and edge-crossing continuity. Despite the full images are never generated during training, we show that COCO-GAN can produce \\textbf{state-of-the-art-quality} full images during inference. We further demonstrate a variety of novel applications enabled by teaching the network to be aware of coordinates. First, we perform extrapolation to the learned coordinate manifold and generate off-the-boundary patches. Combining with the originally generated full image, COCO-GAN can produce images that are larger than training samples, which we called \"beyond-boundary generation\". We then showcase panorama generation within a cylindrical coordinate system that inherently preserves horizontally cyclic topology. On the computation side, COCO-GAN has a built-in divide-and-conquer paradigm that reduces memory requisition during training and inference, provides high-parallelism, and can generate parts of images on-demand.","url_abs":"https://arxiv.org/abs/1904.00284v4","url_pdf":"https://arxiv.org/pdf/1904.00284v4.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":"coco-gan-generation-by-parts-via-conditional","repo_url":"https://github.com/hubert0527/COCO-GAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"face-generation","task_name":"Face Generation"},{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[{"method_slug":"convolution","method_name":"Convolution"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-generation-on-celeba-hq-1024x1024","task":"Image Generation","dataset":"CelebA-HQ 1024x1024","model":"COCO-GAN","rank_in_archive_order":9,"of":10,"metrics":{"FID":"9.49"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-celeba-hq-128x128","task":"Image Generation","dataset":"CelebA-HQ 128x128","model":"COCO-GAN","rank_in_archive_order":2,"of":7,"metrics":{"FID":"5.74"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-celeba-hq-64x64","task":"Image Generation","dataset":"CelebA-HQ 64x64","model":"COCO-GAN","rank_in_archive_order":1,"of":3,"metrics":{"FID":"4.0"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1904.00284","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1904.00284"}},"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/hubert0527/COCO-GAN","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"listed":{"samples":6,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"de47f6c2c2261656","entry":"get_celeba_hq_image","repo":"hubert0527/COCO-GAN","repo_kind":"listed","path":"img_utils.py","file_url":"https://github.com/hubert0527/COCO-GAN/blob/HEAD/img_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"de47f6c2c2261656"}},{"code_sha256_prefix":"924a5adcaa77962b","entry":"get_celeba_image","repo":"hubert0527/COCO-GAN","repo_kind":"listed","path":"img_utils.py","file_url":"https://github.com/hubert0527/COCO-GAN/blob/HEAD/img_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"924a5adcaa77962b"}},{"code_sha256_prefix":"068cd5ab0df5f40c","entry":"get_image","repo":"hubert0527/COCO-GAN","repo_kind":"listed","path":"img_utils.py","file_url":"https://github.com/hubert0527/COCO-GAN/blob/HEAD/img_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"068cd5ab0df5f40c"}},{"code_sha256_prefix":"6e59af1261b4f2d3","entry":"scope_has_variables","repo":"hubert0527/COCO-GAN","repo_kind":"listed","path":"ops.py","file_url":"https://github.com/hubert0527/COCO-GAN/blob/HEAD/ops.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":"6e59af1261b4f2d3"}},{"code_sha256_prefix":"8feb6442a04e93b6","entry":"snconv2d","repo":"hubert0527/COCO-GAN","repo_kind":"listed","path":"ops.py","file_url":"https://github.com/hubert0527/COCO-GAN/blob/HEAD/ops.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":"8feb6442a04e93b6"}},{"code_sha256_prefix":"a9fbe330bdc0ab5a","entry":"spectral_normed_weight","repo":"hubert0527/COCO-GAN","repo_kind":"listed","path":"ops.py","file_url":"https://github.com/hubert0527/COCO-GAN/blob/HEAD/ops.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":"a9fbe330bdc0ab5a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}