{"id":20355488,"url":"https://github.com/honlan/dmt","last_synced_at":"2025-08-30T12:13:41.136Z","repository":{"id":201303609,"uuid":"194226258","full_name":"Honlan/DMT","owner":"Honlan","description":"Disentangled Makeup Transfer with Generative Adversarial Network","archived":false,"fork":false,"pushed_at":"2019-07-15T06:31:25.000Z","size":47423,"stargazers_count":116,"open_issues_count":10,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T02:52:37.832Z","etag":null,"topics":["computer-vision","deep-learning","disentangled-representations","generative-adversarial-network","makeup-transfer","tensorflow"],"latest_commit_sha":null,"homepage":null,"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,"governance":null}},"created_at":"2019-06-28T07:14:11.000Z","updated_at":"2025-01-20T04:53:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"aed9b5cc-f172-424a-81d6-87a884ae1264","html_url":"https://github.com/Honlan/DMT","commit_stats":null,"previous_names":["honlan/dmt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Honlan/DMT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FDMT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FDMT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FDMT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FDMT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Honlan","download_url":"https://codeload.github.com/Honlan/DMT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Honlan%2FDMT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272847020,"owners_count":25003115,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["computer-vision","deep-learning","disentangled-representations","generative-adversarial-network","makeup-transfer","tensorflow"],"created_at":"2024-11-14T23:13:00.373Z","updated_at":"2025-08-30T12:13:41.116Z","avatar_url":"https://github.com/Honlan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DMT\n\nTensorFlow implementation of [Disentangled Makeup Transfer with Generative Adversarial Network](https://arxiv.org/abs/1907.01144)\n\nThe facial images are disentangled into identity codes and makeup codes to achieve diverse scenarios of makeup transfer\n\n## Results\n\n![pairwise makeup transfer](output/pairwise.jpg)\n\n![interpolated makeup transfer](output/interpolated.jpg)\n\n![hybrid makeup transfer](output/hybrid.jpg)\n\n![multimodal makeup transfer](output/multimodal.jpg)\n\n## Files\n\n- `main.py`: the main code\n- `dmt.pb`: the pre-trained model\n- `faces`: images of makeup and non-makeup faces\n- `output`: the generated images\n\n## Usage\n\n```\npython main.py\n```\n\nIf you want to use other non-makeup or makeup images, set the paths to the target images\n\n```\nno_makeup = os.path.join('faces', 'no_makeup', 'xfsy_0055.png')\nmakeup_a = os.path.join('faces', 'makeup', 'XMY-074.png')\nmakeup_b = os.path.join('faces', 'makeup', 'vFG112.png')\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonlan%2Fdmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonlan%2Fdmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonlan%2Fdmt/lists"}