{"id":21216765,"url":"https://github.com/mingtaoguo/cartoongan-tensorflow","last_synced_at":"2025-07-10T11:32:36.836Z","repository":{"id":168646381,"uuid":"142454414","full_name":"MingtaoGuo/CartoonGAN-tensorflow","owner":"MingtaoGuo","description":"Simple code implement the paper of CartoonGAN(CVPR2018)","archived":false,"fork":false,"pushed_at":"2018-07-27T02:17:22.000Z","size":127,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T13:11:19.582Z","etag":null,"topics":["cartoon-style-transfer","cartoongan","gan","generative-adversarial-network","style-transfer","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MingtaoGuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-26T14:43:08.000Z","updated_at":"2024-03-10T07:40:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"f37b60b6-2d81-4fe4-bc3d-398dccc6eba5","html_url":"https://github.com/MingtaoGuo/CartoonGAN-tensorflow","commit_stats":null,"previous_names":["mingtaoguo/cartoongan-tensorflow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MingtaoGuo/CartoonGAN-tensorflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FCartoonGAN-tensorflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FCartoonGAN-tensorflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FCartoonGAN-tensorflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FCartoonGAN-tensorflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MingtaoGuo","download_url":"https://codeload.github.com/MingtaoGuo/CartoonGAN-tensorflow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FCartoonGAN-tensorflow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264573190,"owners_count":23630439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cartoon-style-transfer","cartoongan","gan","generative-adversarial-network","style-transfer","tensorflow"],"created_at":"2024-11-20T21:55:31.180Z","updated_at":"2025-07-10T11:32:36.824Z","avatar_url":"https://github.com/MingtaoGuo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CartoonGAN-tensorflow\nSimple code implement the paper of CartoonGAN\n\n## Introduction\nThis simple code mainly implement the paper about [CartoonGAN](http://openaccess.thecvf.com/content_cvpr_2018/papers/Chen_CartoonGAN_Generative_Adversarial_CVPR_2018_paper.pdf), which is published at CVPR2018. This paper mainly address the problem of styling the nature images to cartoon by using GANs.\n\n#### There are three contributions in the paper:\n1. Removing the clear edge of original cartoon images as a new datasets\n2. Using high-level feature maps in vgg19 to reconstruct the content\n3. Initializing the generator by reconstructing the nature images\n\n## Results of the paper\n![](https://github.com/MingtaoGuo/CartoonGAN-tensorflow/blob/master/images/paperresult.jpg)\n\n## How to use the code\n#### Python packages you need\n1. python 3.x\n2. tensorflow 1.4.0\n3. pillow\n4. scipy\n5. cv2\n6. numpy\n#### Process of using\n1. Download the cartoon movie, then using 'vedio2img.py' to extract the cartoon images from the cartoon movie. Finally, put the extracted cartoon imges into the folder 'c'.\n2. Using 'remove_clear_edge.py' to remove the extracted cartoon images' clear edge as a new datasets, and then put the unclear edge cartoon images into the folder 'e'\n3. Download the nature image datasets(we use [MSCOCO](http://images.cocodataset.org/zips/train2017.zip) here, not [Flicker](https://www.flickr.com/photos/tags/flicker/)), and then put the unzipped MSCOCO datasets into the folder 'MSCOCO'.\n## Results of our code \n### I'm sorry, this code is under training ..........\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingtaoguo%2Fcartoongan-tensorflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingtaoguo%2Fcartoongan-tensorflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingtaoguo%2Fcartoongan-tensorflow/lists"}