Other

项目介绍

VITA-Group/TransGAN 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Other 许可证,目前获得 1.7k 个 Star、205 次 Fork。

仓库全名
VITA-Group/TransGAN
开源许可证
Other
Star 数
1.7k
Fork 数
205
未关闭 Issue
15

README 摘要

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 [x] Distributed Training (Faster!) [x] IS/FID Evaluation [x] Gradient Accumulation [x] Stronger Data Augmentation [x] Self-Modulation Guidance Cifar…

完整内容见 GitHub 原始 README 或本页 。

常见问题

TransGAN 用什么语言开发?

主要使用 Python 编写,采用 Other 许可证,目前有 1.7k 个 Star。

TransGAN 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 TransGAN 的源码?

可以直接克隆仓库:git clone https://github.com/VITA-Group/TransGAN.git;安装与运行步骤见仓库 README。

TransGAN 最近还在维护吗?

仓库最近一次更新为 2022年11月3日,当前有 15 个未关闭 Issue;Star 数为 1.7k,可作为社区活跃度的参考。

简要分析

热度分
3794
价值分
1245
活跃状态
活跃

语言占比

C++
Cuda
Python
Shell

贡献者

README

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

Main Pipeline

Representative Visual Results

Cifar Visual Results 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}
}

评论

暂无评论