{"id":13482769,"url":"https://github.com/tensorlayer/dcgan","last_synced_at":"2025-04-05T16:07:38.078Z","repository":{"id":65686211,"uuid":"73939903","full_name":"tensorlayer/DCGAN","owner":"tensorlayer","description":"The Simplest DCGAN Implementation","archived":false,"fork":false,"pushed_at":"2023-05-24T02:39:25.000Z","size":2129,"stargazers_count":341,"open_issues_count":13,"forks_count":115,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-29T15:06:01.516Z","etag":null,"topics":["dcgan","gan","generative-adversarial-network","tensorlayer","tensorlayerx"],"latest_commit_sha":null,"homepage":"https://github.com/tensorlayer/tensorlayerx","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/tensorlayer.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":"2016-11-16T16:39:51.000Z","updated_at":"2024-12-27T13:19:51.000Z","dependencies_parsed_at":"2023-02-17T13:30:40.715Z","dependency_job_id":"9f156cb4-32e7-4bfe-9660-9fff94b7bf2b","html_url":"https://github.com/tensorlayer/DCGAN","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2FDCGAN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2FDCGAN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2FDCGAN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorlayer%2FDCGAN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorlayer","download_url":"https://codeload.github.com/tensorlayer/DCGAN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361687,"owners_count":20926643,"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":["dcgan","gan","generative-adversarial-network","tensorlayer","tensorlayerx"],"created_at":"2024-07-31T17:01:05.342Z","updated_at":"2025-04-05T16:07:38.040Z","avatar_url":"https://github.com/tensorlayer.png","language":"Python","readme":"# DCGAN in TensorLayerX\n\n- This is an implementation of [Deep Convolutional Generative Adversarial Networks](http://arxiv.org/abs/1511.06434).\nLooking for Text to Image Synthesis? [click here](https://github.com/zsdonghao/text-to-image)\n\n- For earlier version, please check dcgan [release](https://github.com/tensorlayer/dcgan/releases) and [tensorlayer](https://github.com/tensorlayer/TensorLayer)\n\n- For more computer vision applications, check [TLXCV](https://github.com/tensorlayer/TLXCV)\n\n![alt tag](img/DCGAN.png)\n\n\n## Prerequisites\n\n🔥🔥🔥🔥🔥🔥 You need install TensorLayerX at first!\n\n🔥🔥🔥🔥🔥🔥 Please install TensorLayerX via source\n\n```\npip install tensorlayerx\n```\n\nor \n\n```\npip install git+https://github.com/tensorlayer/tensorlayerx.git \n```\n\n## Usage\n\nFirst, download the aligned face images from [google](https://drive.google.com/open?id=0B7EVK8r0v71pWEZsZE9oNnFzTm8) or [baidu](https://pan.baidu.com/s/1eSNpdRG#list/path=%2F) to a `data` folder.\n\nPlease place dataset 'img_align_celeba.zip' under 'data/celebA/' by default.\n\nYour directory structure should look like this:\n\n```\ndcgan/\n    └── data.py\n    └── model.py\n    └── train.py\n    └── README.md\n    └── data\n          └── celebA\n            └── img_align_celeba.zip\n\n```\n\nSecond, train the GAN:\n\n    $ python train.py\n    \n## Result on celebA\n\n\n\u003ca href=\"http://tensorlayer.readthedocs.io\"\u003e\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"img/result.png\" width=\"90%\" height=\"90%\"/\u003e\n\u003c/div\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":["Models/Projects","4. GAN"],"sub_categories":["1.2 DatasetAPI and TFRecord Examples"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorlayer%2Fdcgan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorlayer%2Fdcgan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorlayer%2Fdcgan/lists"}