项目
在 GitHub 查看
VITA-Group/TransGAN
关于
[NeurIPS‘2021]《TransGAN:两个纯 Transformer 可以构建一个强大的 GAN,并且还能扩展》,Yifan Jiang、Shiyu Chang、Zhangyang Wang
机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up
Code used for TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up.
Implementation
- checkpoint gradient using torch.utils.checkpoint
- 16bit precision training
- Distributed Training (Faster!)
- IS/FID Evaluation
- Gradient Accumulation
- Stronger Data Augmentation
- Self-Modulation
Guidance
Cifar training script
python exp/cifar_train.py
I disabled the evaluation during training job as it causes strange bug. Please launch another evaluation job simultaneously by copying the path to test script.
Cifar test
First download the cifar checkpoint and put it on ./cifar_checkpoint. Then run the following script.
python exp/cifar_test.py
Main Pipeline

Representative Visual Results

README waits for updated
Acknowledgement
Codebase from AutoGAN, pytorch-image-models
Citation
if you find this repo is helpful, please cite
@article{jiang2021transgan,
title={Transgan: Two pure transformers can make one strong gan, and that can scale up},
author={Jiang, Yifan and Chang, Shiyu and Wang, Zhangyang},
journal={Advances in Neural Information Processing Systems},
volume={34},
year={2021}
}
探索相关项目
加载中…