{"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/graph2pix-a-graph-based-image-to-image","title":"Graph2Pix: A Graph-Based Image to Image Translation Framework","arxiv_id":"2108.09752","date":"2021-08-22","proceeding":null,"authors":["Dilara Gokay","Enis Simsar","Efehan Atici","Alper Ahmetoglu","Atif Emre Yuksel","Pinar Yanardag"],"abstract":"In this paper, we propose a graph-based image-to-image translation framework for generating images. We use rich data collected from the popular creativity platform Artbreeder (http://artbreeder.com), where users interpolate multiple GAN-generated images to create artworks. This unique approach of creating new images leads to a tree-like structure where one can track historical data about the creation of a particular image. Inspired by this structure, we propose a novel graph-to-image translation model called Graph2Pix, which takes a graph and corresponding images as input and generates a single image as output. Our experiments show that Graph2Pix is able to outperform several image-to-image translation frameworks on benchmark metrics, including LPIPS (with a 25% improvement) and human perception studies (n=60), where users preferred the images generated by our method 81.5% of the time. Our source code and dataset are publicly available at https://github.com/catlab-team/graph2pix.","url_abs":"https://arxiv.org/abs/2108.09752v1","url_pdf":"https://arxiv.org/pdf/2108.09752v1.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":"graph2pix-a-graph-based-image-to-image","repo_url":"https://github.com/catlab-team/graph2pix","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2108.09752","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.09752"}},"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/catlab-team/graph2pix","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"official":{"samples":7,"ran":1,"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":"29bb0088c8c38ae4","entry":"get_norm_layer","repo":"catlab-team/graph2pix","repo_kind":"official","path":"models/networks.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/models/networks.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"29bb0088c8c38ae4"}},{"code_sha256_prefix":"bc2a177fe251445f","entry":"convert_to_datatype","repo":"catlab-team/graph2pix","repo_kind":"official","path":"run_engine.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/run_engine.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":"bc2a177fe251445f"}},{"code_sha256_prefix":"7c0dff70f4e176df","entry":"create_memory","repo":"catlab-team/graph2pix","repo_kind":"official","path":"run_engine.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/run_engine.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":"7c0dff70f4e176df"}},{"code_sha256_prefix":"1f5d33b5045ac695","entry":"create_model","repo":"catlab-team/graph2pix","repo_kind":"official","path":"models/models.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/models/models.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":"1f5d33b5045ac695"}},{"code_sha256_prefix":"4c3ac760c14bce27","entry":"define_D","repo":"catlab-team/graph2pix","repo_kind":"official","path":"models/networks.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/models/networks.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":"4c3ac760c14bce27"}},{"code_sha256_prefix":"29de80c9fa169dd4","entry":"define_G","repo":"catlab-team/graph2pix","repo_kind":"official","path":"models/networks.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/models/networks.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":"29de80c9fa169dd4"}},{"code_sha256_prefix":"a15f6e4b138ff37d","entry":"get_input_output_names","repo":"catlab-team/graph2pix","repo_kind":"official","path":"run_engine.py","file_url":"https://github.com/catlab-team/graph2pix/blob/HEAD/run_engine.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":"a15f6e4b138ff37d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}