{"id":20355510,"url":"https://github.com/honlan/beautygan","last_synced_at":"2025-04-05T04:10:28.442Z","repository":{"id":44361332,"uuid":"185706007","full_name":"Honlan/BeautyGAN","owner":"Honlan","description":"transfer the makeup style of a reference face image to a non-makeup face","archived":false,"fork":false,"pushed_at":"2019-07-15T01:14:59.000Z","size":4018,"stargazers_count":671,"open_issues_count":12,"forks_count":164,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-29T03:06:52.432Z","etag":null,"topics":["histogram-matching","makeup-transfer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Honlan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-09T01:43:30.000Z","updated_at":"2025-03-25T16:31:41.000Z","dependencies_parsed_at":"2022-08-12T11:03:18.754Z","dependency_job_id":null,"html_url":"https://github.com/Honlan/BeautyGAN","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FBeautyGAN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FBeautyGAN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FBeautyGAN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FBeautyGAN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Honlan","download_url":"https://codeload.github.com/Honlan/BeautyGAN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284949,"owners_count":20913704,"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":["histogram-matching","makeup-transfer"],"created_at":"2024-11-14T23:13:05.792Z","updated_at":"2025-04-05T04:10:28.415Z","avatar_url":"https://github.com/Honlan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeautyGAN\n\n### 简介\n\nBeautyGAN: Instance-level Facial Makeup Transfer with Deep Generative Adversarial Network\n\n官方网站：[http://liusi-group.com/projects/BeautyGAN](http://liusi-group.com/projects/BeautyGAN)\n\n提供了论文和数据集，但是没有开源代码，也没有提供训练好的模型\n\n### 复现效果\n\n![](result.jpg)\n\n### 使用方法\n\n- Python3.6\n- TensorFlow1.9\n\n下载训练好的模型\n\n- [https://pan.baidu.com/s/1wngvgT0qzcKJ5LfLMO7m8A](https://pan.baidu.com/s/1wngvgT0qzcKJ5LfLMO7m8A)，7lip\n- [https://drive.google.com/drive/folders/1pgVqnF2-rnOxcUQ3SO4JwHUFTdiSe5t9](https://drive.google.com/drive/folders/1pgVqnF2-rnOxcUQ3SO4JwHUFTdiSe5t9)\n\n新建文件夹`model`，将模型文件放于其中\n\n`imgs`中包括11张无妆图片，以及9张有妆图片\n\n默认对`imgs/no_makeup/xfsy_0068.png`进行上妆\n\n```\npython main.py\n```\n\n如果需要对其他人脸图片上妆，传入图片路径即可，推荐使用大小合适的正脸图片\n\n```\npython main.py --no_makeup xxx.xxx\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonlan%2Fbeautygan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonlan%2Fbeautygan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonlan%2Fbeautygan/lists"}