PyTorch implementation of the TransGAN paper
The original paper can be found here.
You can install the package via pip
:
pip install transgan-pytorch
import torch
from transgan_pytorch import TransGAN
tgan = TransGAN(...)
z = torch.rand(100) # random noise
pred = tgan(z)