{"id":18551351,"url":"https://github.com/morvanzhou/celeba-stylegan","last_synced_at":"2025-07-30T09:04:49.573Z","repository":{"id":108437072,"uuid":"318914074","full_name":"MorvanZhou/celebA-styleGAN","owner":"MorvanZhou","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-25T08:58:55.000Z","size":5207,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T14:28:06.338Z","etag":null,"topics":[],"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/MorvanZhou.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-05T23:58:40.000Z","updated_at":"2025-03-27T13:23:43.000Z","dependencies_parsed_at":"2023-06-01T02:00:13.461Z","dependency_job_id":null,"html_url":"https://github.com/MorvanZhou/celebA-styleGAN","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MorvanZhou/celebA-styleGAN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FcelebA-styleGAN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FcelebA-styleGAN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FcelebA-styleGAN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FcelebA-styleGAN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorvanZhou","download_url":"https://codeload.github.com/MorvanZhou/celebA-styleGAN/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FcelebA-styleGAN/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267842976,"owners_count":24153133,"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-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2024-11-06T21:08:46.624Z","updated_at":"2025-07-30T09:04:49.548Z","avatar_url":"https://github.com/MorvanZhou.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"An implementation of StyleGAN on CelebA dataset.\n\n## Install \n\n```shell script\ngit clone https://github.com/MorvanZhou/celebA-styleGAN\ncd celebA-styleGAN\npip install -r requirements.txt\n```\n\n## Process data\nDownload CelebA \n\n- [img_align_celeba.zip](https://drive.google.com/file/d/0B7EVK8r0v71pZjFTYXZWM3FlRnM/view?usp=sharing) (~1.4GB) \n- [list_attr_celeba.txt](https://drive.google.com/file/d/0B7EVK8r0v71pblRyaVFSWGxPY0U/view?usp=sharing) (25MB) \n\nto celebA_img_align folder, then unzip img_align_celeba.zip to the same folder.\n\nprocess data to tensorflow tensor_record format.\n\n```shell script\npython dataset.py --data_dir ~/data/celebA_img_align/\n```\n\n## Train\n\n```shell script\npython train.py --data_dir ~/data/celebA_img_align/ -b 32 -w 2 --soft_gpu --latent 128 --lambda_ 10 --epoch 151 -lr 0.0005 -b1 0. -b2 0.99\n```\n\n## Results\n\nFirst few of epoch:\n\n![](demo/ep000t005000.png)\n\nAfter one day:\n\n![](demo/ep010t014000.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Fceleba-stylegan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorvanzhou%2Fceleba-stylegan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Fceleba-stylegan/lists"}