{"id":21216747,"url":"https://github.com/mingtaoguo/deep-image-analogy-tensorflow","last_synced_at":"2025-07-10T11:32:34.991Z","repository":{"id":168646391,"uuid":"153086971","full_name":"MingtaoGuo/Deep-image-analogy-TensorFlow","owner":"MingtaoGuo","description":"Implementation of the paper : Deep image analogy","archived":false,"fork":false,"pushed_at":"2018-10-21T14:52:00.000Z","size":254,"stargazers_count":35,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T13:11:21.445Z","etag":null,"topics":["image-analogy","tensorflow","tensorflow-gpu","vgg19"],"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-10-15T09:29:05.000Z","updated_at":"2024-10-29T16:05:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"99051568-1209-4d98-bded-f5c3a8e9a435","html_url":"https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow","commit_stats":null,"previous_names":["mingtaoguo/deep-image-analogy-tensorflow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MingtaoGuo/Deep-image-analogy-TensorFlow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FDeep-image-analogy-TensorFlow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FDeep-image-analogy-TensorFlow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FDeep-image-analogy-TensorFlow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FDeep-image-analogy-TensorFlow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MingtaoGuo","download_url":"https://codeload.github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MingtaoGuo%2FDeep-image-analogy-TensorFlow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264573189,"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":["image-analogy","tensorflow","tensorflow-gpu","vgg19"],"created_at":"2024-11-20T21:55:28.762Z","updated_at":"2025-07-10T11:32:34.986Z","avatar_url":"https://github.com/MingtaoGuo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deep-image-analogy-TensorFlow\nImplementation of the paper : Deep image analogy\n\n# Introduction\nThis code mainly implements the interesting paper [Visual Attribute Transfer through Deep Image Analogy](http://cn.arxiv.org/pdf/1705.01088), details of the algorithm please see the paper. \n![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/suanfa.jpg)\n\n# How to use \n\n------------------------------------------------------\nStep 1. Download the vgg19.npy([BaiduDrive](https://pan.baidu.com/s/1V6JOGJ5O2rabZ_ZLdCF30w)), and put it into the folder 'vgg19'\n\nStep 2. Modify the image's path in Main.py\n\nStep 3. execute Main.py\n\n--------------------------------------------------------\n\n# Python packages\n\n===================\n\n1. python 3.5\n2. tensorflow1.4.0\n3. numpy\n4. scipy\n5. pillow\n\n===================\n# Results\n|Input|:|Output|::|Output|:|Input|\n|-|-|-|-|-|-|-|\n|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/girl_A.jpg)|:|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/girl_A_prime.jpg)|::|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/girl_B.jpg)|:|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/girl_B_prime.jpg)|\n|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/wlh.jpg)|:|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/wlh_prime.jpg)|::|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/catong_prime.jpg)|:|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/catong.jpg)|\n|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/sumiao.jpg)|:|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/lanse_prime.jpg)|::|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/sumiao_prime.jpg)|:|![](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow/blob/master/IMAGES/lanse.jpg)|\n\n#### Time: 3 minutes for 224x224 image size\n#### These results are not satisfactory compare to paper's attractive results\n# Acknowledgement\nThanks for the PatchMatch code from [harveyslash](https://github.com/harveyslash/PatchMatch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingtaoguo%2Fdeep-image-analogy-tensorflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingtaoguo%2Fdeep-image-analogy-tensorflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingtaoguo%2Fdeep-image-analogy-tensorflow/lists"}