https://github.com/kimrass/dcgan
PyTorch implementation of 'DCGAN' (Radford et al., 2016) and training it on CelebA
https://github.com/kimrass/dcgan
celeba dcgan gans pytorch
Last synced: 3 months ago
JSON representation
PyTorch implementation of 'DCGAN' (Radford et al., 2016) and training it on CelebA
- Host: GitHub
- URL: https://github.com/kimrass/dcgan
- Owner: KimRass
- Created: 2023-07-20T13:48:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T16:15:09.000Z (over 1 year ago)
- Last Synced: 2025-04-01T14:43:49.763Z (6 months ago)
- Topics: celeba, dcgan, gans, pytorch
- Language: Python
- Homepage:
- Size: 15.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 1. Pre-trained Model on CelebA 64 × 64
- [dcgan_celeba.pth](https://drive.google.com/file/d/1dgC2lhIN-Qf_JvN2rz77brHHru13DFNy/view?usp=sharing)# 2. Sampling
## 1) `"grid"` mode
```bash
# e.g.,
python3 sample.py\
--mode="grid"\
--ckpt_path="/.../dcgan/dcgan_celeba.pth"\
--batch_size=100\
--n_iters=10\
--n_cpus=0 # Optional
```
-![]()
## 2) `"interpolation"` mode
```bash
# e.g.,
python3 sample.py\
--mode="interpolation"\
--ckpt_path="/.../dcgan/dcgan_celeba.pth"\
--n_cells=10\
--n_iters=10\
--n_cpus=0 # Optional
```
-![]()