DeepGen
A collection of modern Deep Generative Models.
Install
pip3 install deepgen
Usage
Toy example:
import os
import torch
from deepgen.gan.gan import GAN
from torchvision import datasets
import torchvision.transforms as transforms
img_size = (1, 28, 28)
batch_size = 64
if __name__ == '__main__':
data_loader = torch.utils.data.DataLoader(
datasets.MNIST(
'../data/',
train=True,
download=True,
transform=transforms.Compose(
[transforms.Resize(28), transforms.ToTensor(), transforms.Normalize([0.5], [0.5])]
),
),
batch_size=batch_size,
shuffle=True,
)
os.makedirs('images', exist_ok=True)
model = GAN()
print(model)
his = model.train(data_loader=data_loader, n_epoch=5, sample_interval=10)
print(his)
TODO:
Updating
Generative Adversarial Network (GANs)
- Vanilla GAN
- Boundary Seeking GAN
- Auxiliary Classifier GAN
- BEGAN
- BicycleGAN
- Boundary-Seeking GAN
- Conditional GAN
- Context-Conditional GAN
- Context Encoder
- Coupled GAN
- CycleGAN
- Deep Convolutional GAN
- DiscoGAN
- DRAGAN
- DualGAN
- Energy-Based GAN
- Enhanced Super-Resolution GAN
- GAN
- InfoGAN
- Least Squares GAN
- MUNIT
- Pix2Pix
- PixelDA
- Relativistic GAN
- Semi-Supervised GAN
- Softmax GAN
- StarGAN
- Super-Resolution GAN
- UNIT
- Wasserstein GAN
- Wasserstein GAN GP
- Wasserstein GAN DIV
Variational Autoencoder (VAEs)
- Vanilla VAE
- Conditional VAE
- Denoising VAE
- Adversarial Variational Bayes
- Adversarial Autoencoder
Metadata
Release files for deepgen 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deepgen-0.0.11.tar.gz | 5.9 kB | Without provenance | Details for deepgen-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deepgen-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for deepgen-0.0.11-py3-none-any.whl |
Total release size: 30.1 kB
Release files / deepgen-0.0.11.tar.gz
| Download URL | deepgen-0.0.11.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d577da62a5aabfeb4630a8ad2bdc2a99bbbd08ee8353e0198f7e6a2a8a53a426
|
|
BLAKE2b-256 checksum How to use checksums |
d7fcc82bd759b64d6dec06bda21c67d708227bbf124685c78f3de7d1003d1201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / deepgen-0.0.11-py3-none-any.whl
| Download URL | deepgen-0.0.11-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38ba13aaf5c90d4366a10742da33feef051a6b789340d2683638c559f017388d
|
|
BLAKE2b-256 checksum How to use checksums |
f7fe9e020675a2d2696d0251f044a68149e05aa70579b5521b3c704d76a5602d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Security for deepgen 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.