SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1511.06434 · ICLR · 2015

Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks

Luke Metz, Alec Radford, Soumith Chintala

arXiv · PDF · Open in the Atlas

Code that ran

128 of 219 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (61 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 108 have no contract verdict; 17 failures of our instrument; 91 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1511.06434.json · badge: /api/ran/1511.06434.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
adityabingi/DCGAN-TF2.0 community
not in the paper's declared repositories
11 ran · 2 no recorded run
pioneerAlpha/BanglaText2ImageGeneration community
not in the paper's declared repositories
4 ran · 4 no recorded run
alexbie98/dpgan-revisit community
not in the paper's declared repositories
4 ran · 0 no recorded run
joshpc/StyledFontGAN community
not in the paper's declared repositories
4 ran · 0 no recorded run
Newmu/dcgan_code community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
caffe-mocha/dcgan-pytorch-cifar10 community
not in the paper's declared repositories
3 ran · 1 no recorded run
mnswdhw/DefenseGAN-and-Cowboy-Defense community
not in the paper's declared repositories
3 ran · 1 no recorded run
zeleni9/pytorch-wgan community
not in the paper's declared repositories
3 ran · 1 no recorded run
porimol/GAN community
not in the paper's declared repositories
3 ran · 0 no recorded run
joeylitalien/celeba-gan-pytorch community
not in the paper's declared repositories
3 ran · 0 no recorded run
polmonroig/faceGAN community
not in the paper's declared repositories
3 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
shivamswarnkar/Image-Generator community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
akanimax/dcgan_pytorch community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
TUM-ML-Lab18/FaceSwap community
not in the paper's declared repositories
2 ran · 4 no recorded run
esslushy/AbstractArtGenerator community (classifier label)
classifier basis not recorded on the link
2 ran · 4 no recorded run
KostasTok/keras_DCGAN_transfer_learning community (classifier label)
classifier basis not recorded on the link
2 ran · 3 no recorded run
liaoguiqiu/DeepContour community
not in the paper's declared repositories
2 ran · 2 no recorded run
gcervantes8/Game-Image-Generator community
not in the paper's declared repositories
2 ran · 1 no recorded run
gordicaleksa/pytorch-gans community
not in the paper's declared repositories
2 ran · 0 no recorded run
tylercroberts/funwithgans community
not in the paper's declared repositories
2 ran · 0 no recorded run
Sezoir/DCGAN-Dog-Generator community
not in the paper's declared repositories
1 ran · 6 no recorded run
MustafaMustafa/dcgan-tf-benchmark community (classifier label)
classifier basis not recorded on the link
1 ran · 4 no recorded run
NicicDamjan/SoftKompjuting community
not in the paper's declared repositories
1 ran · 4 no recorded run
taoxugit/AttnGAN community
not in the paper's declared repositories
1 ran · 3 no recorded run
FunctionStatusWhere it lives
BaseGenerator Ran
ran on a synthesized input · constructed an object; no result was computed
gcervantes8/Game-Image-Generator/src/models/dcgan/dcgan_generator.py
pointer only (licence: GPL-3.0) · get_code("64d14392be2b8dd2")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, gcervantes8/Game-Image-Generator, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Conv2DTransposeSN Ran
ran on a synthesized input
Sezoir/DCGAN-Dog-Generator/DCGAN.py
pointer only (licence: GPL-3.0) · get_code("86b92b07d69affa1")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Sezoir/DCGAN-Dog-Generator, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ConvBlock Ran
ran on a synthesized input
adityabingi/DCGAN-TF2.0/dcgan.py
code served (permissive licence) · get_code("a6c0b880972ff99b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned EagerTensor, ndim 4, dtype family float, shape (2, 16, 16, 16) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import numpy as np

# Config class
class Config:
    data_dir_path = 'CelebA/img_align_celeba/'
    tfrecord_dir = 'tfrecords/'
    data_crop = [57, 21, 128, 128]
    img_shape = (128, 128, 3)
    parallel_threads = 4
    momentum = 0.9
    epsilon = 1e-05
    latent_dim = 100
    disc_filters = [32, 64, 128, 256, 512]
    gen_filters = [1024, 512, 256, 128, 64]
    disc_lr = 0.0002
    gen_lr = 0.0002
    global_batchsize = 32
    total_training_imgs = 202599
    num_gpu = 2
    num_epochs = 30
    image_snapshot_freq = 1000
    beta1 = 0.5
    beta2 = 0.999
    random_seed = 42
    modelDir = 'model/'
    summaryDir = 'summaries/run4/'
    num_gen_imgs = 32
    grid_size = (4, 8)
    results_dir = 'results/'

b_init = tf.constant_initializer(0.0)
w_init = tf.initializers.TruncatedNormal(stddev=0.02)

def batch_norm(axis=-1):
    return tf.keras.layers.BatchNormalization(momentum=Config.momentum, epsilon=Config.epsilon, axis=axis)

def conv_layer(filters, kernel_size, strides, use_bias=False):
    return tf.keras.layers.Conv2D(filters=filters, kernel_size=kernel_size, strides=strides, padding='same', data_format='channels_last', kernel_initializer=w_init, use_bias=use_bias, bias_initializer=b_init)

def leaky_ReLU(leak=0.2):
    return tf.keras.layers.LeakyReLU(alpha=leak)

class ConvBlock(tf.keras.Model):

    def __init__(self, filters):
        super(ConvBlock, self).__init__(name='conv_block')
        self.kernel_size = (5, 5)
        self.strides = (2, 2)
        self.filters = filters
        self.conv = conv_layer(self.filters, self.kernel_size, self.strides)
        self.batch_norm = batch_norm()
        self.leaky_ReLU = leaky_ReLU()

    def call(self, inputs, training=False):
        inputs = self.conv(inputs)
        inputs = self.batch_norm(inputs, training=training)
        output = self.leaky_ReLU(inputs)
        return output

INIT_ARGS = {
    'filters': 16
}

ARGS = {
    'inputs': tf.random.normal((2, 32, 32, 3)),
    'training': False
}

if __name__ == '__main__':
    model = ConvBlock(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Input shape: {ARGS['inputs'].shape}")
    print(f"Output shape: {output.shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 16, 16, 16) — shape (2, 16, 16, 16) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ConvolutionalGenerativeNet Ran
ran on a synthesized input
gordicaleksa/pytorch-gans/models/definitions/dcgan.py
code served (permissive licence) · get_code("cdeae68f2f9c0c79")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 64, 64) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import numpy as np

LATENT_SPACE_DIM = 100

def dcgan_upsample_block(in_channels, out_channels, normalize=True, activation=None):
    layers = [nn.ConvTranspose2d(in_channels=in_channels, out_channels=out_channels, kernel_size=4, stride=2, padding=1, bias=False)]
    if normalize:
        layers.append(nn.BatchNorm2d(out_channels))
    layers.append(nn.ReLU() if activation is None else activation)
    return layers

class ConvolutionalGenerativeNet(nn.Module):

    def __init__(self):
        super().__init__()
        num_channels_per_layer = [1024, 512, 256, 128, 3]
        self.init_volume_shape = (num_channels_per_layer[0], 4, 4)
        self.linear = nn.Linear(LATENT_SPACE_DIM, num_channels_per_layer[0] * np.prod(self.init_volume_shape[1:]))
        self.net = nn.Sequential(*dcgan_upsample_block(num_channels_per_layer[0], num_channels_per_layer[1]), *dcgan_upsample_block(num_channels_per_layer[1], num_channels_per_layer[2]), *dcgan_upsample_block(num_channels_per_layer[2], num_channels_per_layer[3]), *dcgan_upsample_block(num_channels_per_layer[3], num_channels_per_layer[4], normalize=False, activation=nn.Tanh()))

    def forward(self, latent_vector_batch):
        latent_vector_batch_projected = self.linear(latent_vector_batch)
        latent_vector_batch_projected_reshaped = latent_vector_batch_projected.view(latent_vector_batch_projected.shape[0], *self.init_volume_shape)
        return self.net(latent_vector_batch_projected_reshaped)


INIT_ARGS = {}

ARGS = {
    'latent_vector_batch': torch.randn(2, LATENT_SPACE_DIM)
}

model = ConvolutionalGenerativeNet()
output = model(**ARGS)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 64, 64) — shape (2, 3, 64, 64) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DCGAN Ran
ran on a synthesized input · constructed an object; no result was computed
porimol/GAN/dcgan.py
code served (permissive licence) · get_code("26062a4706882528")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DCGAN: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import torch.optim as optim

torch.manual_seed(0)

# Create a minimal train_loader: list of (data, target) tuples
# data shape: (batch_size, channels, height, width)
# The DCGAN expects channels_img=1 by default, so we use 1 channel
# Make it very small: batch_size=2, height=4, width=4
train_data = [
    (torch.randn(2, 1, 4, 4), torch.zeros(2)),
    (torch.randn(2, 1, 4, 4), torch.zeros(2)),
]

ARGS = {
    "channels_img": 1,
    "channels_noise": 100,
    "feature_g": 16,
    "feature_d": 16,
    "epochs": 5,
    "real_label": 1,
    "fake_label": 0,
    "batch_size": 2,
    "image_size": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DCGAN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DCGAN output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DCGAN Ran
ran on a synthesized input · constructed an object; no result was computed
joeylitalien/celeba-gan-pytorch/src/dcgan.py
pointer only (licence: NONE) · get_code("06720a4000bfeecb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, joeylitalien/celeba-gan-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DCGAN Ran
ran on a synthesized input · constructed an object; no result was computed
caffe-mocha/dcgan-pytorch-cifar10/dcgan.py
code served (permissive licence) · get_code("df8cd2ed60bb9599")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DCGAN: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from unittest.mock import MagicMock

torch.manual_seed(0)

class Args:
    def __init__(self):
        self.ngpu = 1
        self.nc = 3
        self.nz = 4
        self.ngf = 5
        self.ndf = 6
        self.batch_size = 2
        self.learning_rate = 0.0002
        self.beta1 = 0.5
        self.epochs = 1
        self.model = "test_model"
        self.gpuids = [0]
        self.image_size = 64

args = Args()

# Mock cuda to return self (CPU only)
original_cuda = torch.Tensor.cuda
torch.Tensor.cuda = lambda self: self
torch.nn.Module.cuda = lambda self: self

ARGS = {"args": args}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DCGAN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DCGAN output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DCLabelledGenerator Ran
ran on a synthesized input · constructed an object; no result was computed
alexbie98/dpgan-revisit/dpgan/models/dcgan.py
code served (permissive licence) · get_code("4bbf34a48437fb76")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DCLabelledGenerator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import torch.nn.functional as F

torch.manual_seed(0)

# Define the helper function needed by LabelledGenerator
def get_label_to_z_label(num_labels):
    label_to_z_label = F.one_hot(torch.arange(num_labels), num_labels).unsqueeze(-1).unsqueeze(-1).float()
    return label_to_z_label

ARGS = {
    "dim": 4,
    "img_dim": (1, 28, 28),
    "dim_latent": 3,
    "num_labels": 5,
    "device": torch.device("cpu")
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DCLabelledGenerator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DCLabelledGenerator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Datasets Ran
ran on a synthesized input · constructed an object; no result was computed
mnswdhw/DefenseGAN-and-Cowboy-Defense/dc_gan.py
pointer only (licence: NONE) · get_code("59506ce972024554")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mnswdhw/DefenseGAN-and-Cowboy-Defense when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DcganGenerator Ran
ran on a synthesized input · constructed an object; no result was computed
gcervantes8/Game-Image-Generator/src/models/dcgan/dcgan_generator.py
pointer only (licence: GPL-3.0) · get_code("075fcea08d6bc5e2")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, gcervantes8/Game-Image-Generator, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Discrimenator Ran
ran on a synthesized input · constructed an object; no result was computed
porimol/GAN/dcgan.py
code served (permissive licence) · get_code("403a3cfdcd949470")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Discrimenator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_img': 3,
    'out_img': 64,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Discrimenator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Discrimenator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Discriminator Ran
ran on a synthesized input · constructed an object; no result was computed
zeleni9/pytorch-wgan/models/dcgan.py
code served (permissive licence) · get_code("36e269652940d870")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Discriminator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The Discriminator class takes one parameter: channels (input channels)
# Looking at the forward method, it expects input tensors with shape (batch, channels, height, width)
# The first Conv2d layer expects in_channels=channels

channels = 3  # Common for RGB images

ARGS = {
    'channels': channels,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Discriminator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Discriminator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Discriminator Ran
ran on a synthesized input · constructed an object; no result was computed
joeylitalien/celeba-gan-pytorch/src/dcgan.py
pointer only (licence: NONE) · get_code("292174eff2832369")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, joeylitalien/celeba-gan-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Discriminator Ran
ran on a synthesized input
llvictorll/AS/network/DCGAN.py
pointer only (licence: NONE) · get_code("55fed21978c57ce5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llvictorll/AS when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Discriminator Ran
ran on a synthesized input · constructed an object; no result was computed
polmonroig/faceGAN/models/GAN/GAN.py
code served (permissive licence) · get_code("1ab3f0450658d58c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Discriminator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'n_channels': 3,
    'imsize': 16,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Discriminator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Discriminator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Discriminator Ran
ran on a synthesized input · constructed an object; no result was computed
caffe-mocha/dcgan-pytorch-cifar10/dcgan.py
code served (permissive licence) · get_code("25d04bac0a0effe8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Discriminator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Parameters for Discriminator.__init__
ngpu = 1
nc = 3  # number of channels (input)
ndf = 64  # number of discriminator filters

ARGS = {
    'ngpu': ngpu,
    'nc': nc,
    'ndf': ndf
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Discriminator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Discriminator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Discriminator Ran
ran on a synthesized input · constructed an object; no result was computed
u7javed/DCGAN_pytorch/models.py
pointer only (licence: NONE) · get_code("cc900ebb3b6e345d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, u7javed/DCGAN_pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Discriminator Ran
ran on a synthesized input · constructed an object; no result was computed
TUM-ML-Lab18/FaceSwap/implementation/Models/DCGAN/DCGAN.py
pointer only (licence: NONE) · get_code("a6555241bd7bbf9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TUM-ML-Lab18/FaceSwap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Discriminator Ran
ran on a synthesized input
adityabingi/DCGAN-TF2.0/dcgan.py
code served (permissive licence) · get_code("a62f5028674b8f26")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned EagerTensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import numpy as np

# Set up the Config class
class Config:
    data_dir_path = 'CelebA/img_align_celeba/'
    tfrecord_dir = 'tfrecords/'
    data_crop = [57, 21, 128, 128]
    img_shape = (128, 128, 3)
    parallel_threads = 4
    momentum = 0.9
    epsilon = 1e-05
    latent_dim = 100
    disc_filters = [32, 64, 128, 256, 512]
    gen_filters = [1024, 512, 256, 128, 64]
    disc_lr = 0.0002
    gen_lr = 0.0002
    global_batchsize = 32
    total_training_imgs = 202599
    num_gpu = 2
    num_epochs = 30
    image_snapshot_freq = 1000
    beta1 = 0.5
    beta2 = 0.999
    random_seed = 42
    modelDir = 'model/'
    summaryDir = 'summaries/run4/'
    num_gen_imgs = 32
    grid_size = (4, 8)
    results_dir = 'results/'

# Define helper functions and classes
b_init = tf.constant_initializer(0.0)
w_init = tf.initializers.TruncatedNormal(stddev=0.02)

def batch_norm(axis=-1):
    return tf.keras.layers.BatchNormalization(momentum=Config.momentum, epsilon=Config.epsilon, axis=axis)

def conv_layer(filters, kernel_size, strides, use_bias=False):
    return tf.keras.layers.Conv2D(filters=filters, kernel_size=kernel_size, strides=strides, padding='same', data_format='channels_last', kernel_initializer=w_init, use_bias=use_bias, bias_initializer=b_init)

def flatten():
    return tf.keras.layers.Flatten()

def leaky_ReLU(leak=0.2):
    return tf.keras.layers.LeakyReLU(alpha=leak)

def linear(units, use_bias=False):
    return tf.keras.layers.Dense(units=units, kernel_initializer=w_init, use_bias=use_bias, bias_initializer=b_init)

class ConvBlock(tf.keras.Model):
    def __init__(self, filters):
        super(ConvBlock, self).__init__(name='conv_block')
        self.kernel_size = (5, 5)
        self.strides = (2, 2)
        self.filters = filters
        self.conv = conv_layer(self.filters, self.kernel_size, self.strides)
        self.batch_norm = batch_norm()
        self.leaky_ReLU = leaky_ReLU()

    def call(self, inputs, training=False):
        inputs = self.conv(inputs)
        inputs = self.batch_norm(inputs, training=training)
        output = self.leaky_ReLU(inputs)
        return output

class Discriminator(tf.keras.Model):
    def __init__(self):
        super(Discriminator, self).__init__(name='Discriminator')
        self.disc_filters = Config.disc_filters
        self.conv = conv_layer(filters=self.disc_filters[0], kernel_size=(5, 5), strides=(2, 2), use_bias=True)
        self.leaky_ReLU = leaky_ReLU()
        self.conv_blocks = [ConvBlock(self.disc_filters[i]) for i in range(1, len(self.disc_filters), 1)]
        self.flatten = flatten()
        self.linear = linear(units=1, use_bias=True)

    def call(self, inputs, training=False):
        inputs = self.conv(inputs)
        inputs = self.leaky_ReLU(inputs)
        for conv_block in self.conv_blocks:
            inputs = conv_block(inputs, training=training)
        inputs = self.flatten(inputs)
        output = self.linear(inputs)
        return output

INIT_ARGS = {}

ARGS = {
    'inputs': tf.random.normal((2, 128, 128, 3)),
    'training': False
}

METHOD = 'call'
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Flatten Ran
ran on a synthesized input
joshpc/StyledFontGAN/models/models.py
code served (permissive licence) · get_code("b6f075ee26c8073d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 60) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class Flatten(nn.Module):

    def forward(self, x):
        N, _, _, _ = x.size()
        return x.view(N, -1)


INIT_ARGS = {}

ARGS = {
    'x': torch.randn(2, 3, 4, 5)
}

if __name__ == '__main__':
    model = Flatten(**INIT_ARGS)
    output = model(**ARGS)
    print(output.shape)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 60) — shape (2, 60) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
G Ran
ran on a synthesized input
oneil512/DCGAN/DCGAN.py
pointer only (licence: NONE) · get_code("6d2e7b45ec6f246d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, oneil512/DCGAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

G Ran
ran on a synthesized input
suzana-ilic/pytorch_DCGANs/DCGANs.py
pointer only (licence: NONE) · get_code("af3b18528cec45f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, suzana-ilic/pytorch_DCGANs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GAN Ran
ran on a synthesized input · constructed an object; no result was computed
polmonroig/faceGAN/models/GAN/GAN.py
code served (permissive licence) · get_code("580e86e3087f0050")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, GAN: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import tempfile
import os

torch.manual_seed(0)

# Create a temporary directory for save_dir
temp_dir = tempfile.mkdtemp()

# Create a minimal dataloader with a few batches
# Each batch is (image, label) tuple
batch_size = 2
n_channels = 3
image_height = 64
image_width = 64

fake_images = torch.randn(4, n_channels, image_height, image_width)
fake_labels = torch.zeros(4, dtype=torch.long)

dataloader = [
    (fake_images[0:2], fake_labels[0:2]),
    (fake_images[2:4], fake_labels[2:4]),
]

ARGS = {
    'device': torch.device('cpu'),
    'save_dir': temp_dir,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GAN — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GAN output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
GLU Ran
ran on a synthesized input · constructed an object; no result was computed
pioneerAlpha/BanglaText2ImageGeneration/code/model.py
code served (permissive licence) · get_code("92ca15416853f3da")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, GLU: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a tiny input tensor for testing the GLU module
# The forward method expects x with even number of channels (dimension 1)
# x[:, :nc] and x[:, nc:] split the channels in half
# So we need channels to be even. Let's use batch_size=2, channels=4
x = torch.randn(2, 4)

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GLU — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GLU output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
Ksuryateja/DCGAN-CIFAR10-pytorch/gan_cifar.py
pointer only (licence: NONE) · get_code("caec1a7307d300ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ksuryateja/DCGAN-CIFAR10-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
tejjogani/MangaGeneration-GAN/network.py
code served (permissive licence) · get_code("9bbbd5fe699b0681")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class Generator(nn.Module):

    def __init__(self, dim=128):
        super(Generator, self).__init__()
        self.deconv1 = nn.ConvTranspose2d(100, dim * 8, 4, 1, 0)
        self.deconv1_bn = nn.BatchNorm2d(dim * 8)
        self.deconv2 = nn.ConvTranspose2d(dim * 8, dim * 4, 4, 2, 1)
        self.deconv2_bn = nn.BatchNorm2d(dim * 4)
        self.deconv3 = nn.ConvTranspose2d(dim * 4, dim * 2, 4, 2, 1)
        self.deconv3_bn = nn.BatchNorm2d(dim * 2)
        self.deconv4 = nn.ConvTranspose2d(dim * 2, dim, 4, 2, 1)
        self.deconv4_bn = nn.BatchNorm2d(dim)
        self.deconv5 = nn.ConvTranspose2d(dim, 3, 4, 2, 1)

    def weight_init(self, mean, std):
        for m in self._modules:
            if isinstance(self._modules[m], nn.ConvTranspose2d) or isinstance(self._modules[m], nn.Conv2d):
                m.weight.data.normal_(mean, std)
                m.bias.data.zero_()

    def forward(self, inp):
        x = torch.nn.functional.relu(self.deconv1_bn(self.deconv1(inp)))
        x = torch.nn.functional.relu(self.deconv2_bn(self.deconv2(x)))
        x = torch.nn.functional.relu(self.deconv3_bn(self.deconv3(x)))
        x = torch.nn.functional.relu(self.deconv4_bn(self.deconv4(x)))
        x = torch.nn.functional.tanh(self.deconv5(x))
        return x

ARGS = {
    'dim': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
zeleni9/pytorch-wgan/models/dcgan.py
code served (permissive licence) · get_code("8052df388291fe70")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The Generator.__init__ takes one parameter: channels
# This is the number of output channels for the final ConvTranspose2d layer
# Looking at the forward method, it takes an input tensor x and processes it
# through the sequential module and output tanh activation

# channels should be a small integer representing output image channels
channels = 3

ARGS = {
    "channels": channels
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
porimol/GAN/dcgan.py
code served (permissive licence) · get_code("07a288ab38c7e870")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define parameters for Generator
channels_noise = 100
channels_img = 3
feature_g = 64

# Create a sample input tensor for the forward pass
# Shape: (batch_size, channels_noise, 1, 1) - typical for noise input to generator
sample_input = torch.randn(2, channels_noise, 1, 1)

ARGS = {
    "channels_noise": channels_noise,
    "channels_img": channels_img,
    "feature_g": feature_g,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
jihoonerd/Unsupervised-Representation-Learning-with-Deep-Convolutional-Generative-Adversarial-Networks/dcgan/network/networks.py
code served (permissive licence) · get_code("f3db336494604e50")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Define ARGS dictionary mapping all parameters of Generator to values
ARGS = {
    'color_image': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
joeylitalien/celeba-gan-pytorch/src/dcgan.py
pointer only (licence: NONE) · get_code("fb5b29ec9916f59c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, joeylitalien/celeba-gan-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input
MaximeVandegar/Papers-in-100-Lines-of-Code/Unsupervised_Representation_Learning_with_Deep_Convolutional_Generative_Adversarial_Networks/conv_gan.py
code served (permissive licence) · get_code("e0647218a3241a9f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class Generator(nn.Module):

    def __init__(self):
        super(Generator, self).__init__()
        self.network = nn.Sequential(nn.ConvTranspose2d(100, 1024, kernel_size=(4, 4), stride=(1, 1), bias=False), nn.ReLU(), nn.ConvTranspose2d(1024, 512, 4, stride=2, padding=1, bias=False), nn.BatchNorm2d(512), nn.ReLU(), nn.ConvTranspose2d(512, 256, 4, stride=2, padding=1, bias=False), nn.BatchNorm2d(256), nn.ReLU(), nn.ConvTranspose2d(256, 128, 4, stride=2, padding=1, bias=False), nn.BatchNorm2d(128), nn.ReLU(), nn.ConvTranspose2d(128, 3, 4, stride=2, padding=1, bias=False), nn.BatchNorm2d(3), nn.Tanh())

    def forward(self, noise):
        return self.network(noise)


INIT_ARGS = {}

ARGS = {
    'noise': torch.randn(2, 100, 1, 1)
}

if __name__ == '__main__':
    generator = Generator(**INIT_ARGS)
    output = generator(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output dtype: {output.dtype}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
Noxxel/floter/high_res_gan_v3/dcgan.py
pointer only (licence: NONE) · get_code("564da4e6f5340ea2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Noxxel/floter when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
Paul-Trax/GANs/DCGAN/generator.py
pointer only (licence: NONE) · get_code("e4a91ac95f9bd69c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Paul-Trax/GANs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
u7javed/Handwritten-Number-Generator/models.py
code served (permissive licence) · get_code("6d370314e301bd7a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class Generator(nn.Module):

    def __init__(self, label_size, embedding_dim, latent_size=100):
        super(Generator, self).__init__()
        self.embedding = nn.Embedding(label_size, embedding_dim)
        self.conv = nn.Sequential(nn.ConvTranspose2d(latent_size + embedding_dim, 50, kernel_size=(4, 4), stride=2, padding=1), nn.ReLU(inplace=True), nn.BatchNorm2d(50), nn.ConvTranspose2d(50, 30, kernel_size=(4, 4), stride=2, padding=1), nn.ReLU(inplace=True), nn.BatchNorm2d(30), nn.ConvTranspose2d(30, 15, kernel_size=(4, 4), stride=1, padding=0), nn.ReLU(inplace=True), nn.BatchNorm2d(15), nn.ConvTranspose2d(15, 8, kernel_size=(4, 4), stride=2, padding=1), nn.ReLU(inplace=True), nn.BatchNorm2d(8), nn.ConvTranspose2d(8, 1, kernel_size=(4, 4), stride=2, padding=1), nn.Tanh())

    def forward(self, x, labels):
        labels = self.embedding(labels)
        x = torch.cat([x, labels], 1)
        x = x.view(x.size(0), -1, 1, 1)
        return self.conv(x)

ARGS = {
    "label_size": 10,
    "embedding_dim": 8,
    "latent_size": 100
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
alexbie98/dpgan-revisit/dpgan/models/dcgan.py
code served (permissive licence) · get_code("fa84e00cc5de71c5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

class Generator(nn.Module):
    def __init__(self, dim_latent):
        super().__init__()
        self.dim_latent = dim_latent

    def forward(self, z):
        return z

    def sample(self, bsz, device):
        z = torch.randn((bsz, self.dim_latent)).unsqueeze(-1).unsqueeze(-1).to(device)
        return (self(z), torch.zeros((1,)).long().to(device))


ARGS = {
    'dim_latent': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
polmonroig/faceGAN/models/GAN/GAN.py
code served (permissive licence) · get_code("72275b96fc9d7e9f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The Generator class takes three parameters:
# - latent_size: the size of the input latent vector
# - n_channels: the number of output channels (e.g., 3 for RGB)
# - imsize: a base size parameter used to scale channel dimensions through the network

ARGS = {
    'latent_size': 100,
    'n_channels': 3,
    'imsize': 64
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
arpit2412/Generative-Adversarial-Network-/DCGAN/MNIST/DCGAN.py
pointer only (licence: NONE) · get_code("e24e5109f9b2658e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, arpit2412/Generative-Adversarial-Network- when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
akuramshin/cDCGAN-Quickdraw/Model/architecture.py
pointer only (licence: NONE) · get_code("7fbec9955f43f4c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, akuramshin/cDCGAN-Quickdraw when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
Natsu6767/DCGAN-PyTorch/dcgan.py
pointer only (licence: NONE) · get_code("6dba9d91348f8378")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Natsu6767/DCGAN-PyTorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
caffe-mocha/dcgan-pytorch-cifar10/dcgan.py
code served (permissive licence) · get_code("32890ec6230d2d7d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define arguments for Generator.__init__
ARGS = {
    "ngpu": 1,
    "nc": 3,
    "nz": 100,
    "ngf": 64,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
AKASHKADEL/dcgan-celeba/networks.py
pointer only (licence: NONE) · get_code("de2b76fb91813552")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AKASHKADEL/dcgan-celeba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
partha2409/DCGAN_pytorch/model.py
pointer only (licence: NONE) · get_code("5d3d319c62a17b65")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, partha2409/DCGAN_pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input
virafpatrawala/DCGAN/DCGAN.py
pointer only (licence: NONE) · get_code("1dcfdfa7ac61ca81")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, virafpatrawala/DCGAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
csinva/gan-pretrained-pytorch/cifar10_dcgan/dcgan.py
pointer only (licence: NONE) · get_code("6cef2bb6c55ddd76")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, csinva/gan-pretrained-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
Jason-CKY/pokeGAN_fusion/models/dcgan.py
pointer only (licence: NONE) · get_code("5a82f99ca3d78ae7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Jason-CKY/pokeGAN_fusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
yukia18/pytorch/dcgan/models.py
pointer only (licence: NONE) · get_code("9c762715add97b13")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yukia18/pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
cjfghk5697/Pytorch-Research-Paper-Implementations/GAN/DCGAN/models/DCGAN.py
code served (permissive licence) · get_code("fb7450623d64b2a0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The Generator class has no __init__ parameters other than self,
# so ARGS should be an empty dict
ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
davidhalladay/CE-compressive-sensing-on-generative-model-pytorch/dcgan.py
pointer only (licence: NONE) · get_code("1cae2699ca1c015e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, davidhalladay/CE-compressive-sensing-on-generative-model-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
subinium/Pytorch-GAN-Keynote-KR/GAN/model.py
pointer only (licence: NONE) · get_code("d16549bfa89a6a47")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, subinium/Pytorch-GAN-Keynote-KR when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input
JojiJoseph/DCGAN/tensorflow/gan.py
pointer only (licence: NONE) · get_code("4d968a01908de2c4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JojiJoseph/DCGAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
darr/DCGAN/DCGAN_architecture.py
pointer only (licence: NONE) · get_code("721def406541bff1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, darr/DCGAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
labmlai/annotated_deep_learning_paper_implementations/labml_nn/gan/original/experiment.py
code served (permissive licence) · get_code("ac4658d95b261016")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

def weights_init(m):
    classname = m.__class__.__name__
    if classname.find('Linear') != -1:
        nn.init.normal_(m.weight.data, 0.0, 0.02)
    elif classname.find('BatchNorm') != -1:
        nn.init.normal_(m.weight.data, 1.0, 0.02)
        nn.init.constant_(m.bias.data, 0)

class Generator(nn.Module):
    """
    ### Simple MLP Generator

    This has three linear layers of increasing size with `LeakyReLU` activations.
    The final layer has a $tanh$ activation.
    """

    def __init__(self):
        super().__init__()
        layer_sizes = [256, 512, 1024]
        layers = []
        d_prev = 100
        for size in layer_sizes:
            layers = layers + [nn.Linear(d_prev, size), nn.LeakyReLU(0.2)]
            d_prev = size
        self.layers = nn.Sequential(*layers, nn.Linear(d_prev, 28 * 28), nn.Tanh())
        self.apply(weights_init)

    def forward(self, x):
        return self.layers(x).view(x.shape[0], 1, 28, 28)

# Create a Generator instance
generator = Generator()

# Test that it works with a small batch
test_input = torch.randn(2, 100)
test_output = generator(test_input)

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input · constructed an object; no result was computed
ashantanu/DCGAN/Generator.py
pointer only (licence: NONE) · get_code("177fbe60db8ab1d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ashantanu/DCGAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
kpandey008/DCGANS/dcgan/models/generator.py
code served (permissive licence) · get_code("d9dfcd60006b99ba")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Generator: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "ngpu": 1,
    "in_channels": 128,
    "nfg": 64,
    "nc": 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Generator — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Generator output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Generator Ran
ran on a synthesized input
nakul-jindal/dcgan-in-pytorch/models.py
pointer only (licence: NONE) · get_code("0fe15075203e1694")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nakul-jindal/dcgan-in-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
TUM-ML-Lab18/FaceSwap/implementation/Models/DCGAN/DCGAN.py
pointer only (licence: NONE) · get_code("19d507a4cd7b14c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TUM-ML-Lab18/FaceSwap when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
jpowie01/DCGAN_CelebA/models.py
pointer only (licence: NONE) · get_code("3dc4769fe6e7f422")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jpowie01/DCGAN_CelebA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
tylercroberts/funwithgans/dcgan/src/networks.py
pointer only (licence: NONE) · get_code("00734a5ae4938e97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tylercroberts/funwithgans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
sid0312/DC_GAN/dcgan_withgpu.py
pointer only (licence: NONE) · get_code("c2578d115c687fd4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sid0312/DC_GAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Generator Ran
ran on a synthesized input
jyotirmaypaliwal/DCGAN-on-Celeba-dataset/dcgan-using-pytorch.py
pointer only (licence: NONE) · get_code("9ba7a4ba3d1de090")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jyotirmaypaliwal/DCGAN-on-Celeba-dataset when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Showing the first 60. An agent gets every one from get_harvested_code_for_paper("1511.06434").

Also present in other papers' code

Of 219 samples lifted from this paper's linked repositories, 219 carry a function identity and 0 do not. Of the 213 distinct functions with an identity, 20 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 20 later) and 193 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
init_net
brick of this paper's assembly: helper
14 other papers
1 dated earlier, 13 later
1406.2661 (2014-06)
Generative Adversarial Networks
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1907.04312 (2019-07)
Positional Normalization
and 11 more not named here
conv_out_size_same
brick of this paper's assembly: helper
6 other papers
6 later
1703.05921 (2017-03)
Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery
1804.04391 (2018-04)
MGGAN: Solving Mode Collapse using Manifold Guided Training
1811.03205 (2018-11)
Robustness of Conditional GANs to Noisy Labels
and 3 more not named here
upBlock
brick of this paper's assembly: helper, model
6 other papers
6 later
1605.05396 (2016-05)
Generative Adversarial Text to Image Synthesis
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
1711.10485 (2017-11)
AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks
and 3 more not named here
get_data_loader 5 other papers
5 later
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
1805.08318 (2018-05)
Self-Attention Generative Adversarial Networks
and 2 more not named here
get_transform 4 other papers
4 later
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
1805.08318 (2018-05)
Self-Attention Generative Adversarial Networks
and 1 more not named here
UnetGenerator
brick of this paper's assembly: model
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
2204.13656 (2022-04)
Unsupervised Multi-Modal Medical Image Registration via Discriminator-Free Image-to-Image Translation
2602.04307 (2026-02)
Universal Robust Speech Adaptation for Cross-Domain Speech Recognition and Enhancement
read_loss_log 3 other papers
3 later
1805.08318 (2018-05)
Self-Attention Generative Adversarial Networks
1810.00821 (2018-10)
Variational Discriminator Bottleneck: Improving Imitation Learning, Inverse RL, and GANs by Constraining Information Flow
1903.06048 (2019-03)
MSG-GAN: Multi-Scale Gradients for Generative Adversarial Networks
CA_NET
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2010.12136 (2020-10)
Lightweight Generative Adversarial Networks for Text-Guided Image Manipulation
2108.12141 (2021-08)
DAE-GAN: Dynamic Aspect-aware GAN for Text-to-Image Synthesis
normal_init
brick of this paper's assembly: helper
2 other papers
2 later · 2 only as an assembly brick
2106.02782 (2021-06)
On Perceptual Lossy Compression: The Cost of Perceptual Reconstruction and An Optimal Training Framework
2601.01950 (2026-01)
Face Normal Estimation from Rags to Riches
Generator
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
1704.00028 (2017-04)
Improved Training of Wasserstein GANs
INIT_STAGE_G
brick of this paper's assembly: helper
1 other paper
1 later
2108.12141 (2021-08)
DAE-GAN: Dynamic Aspect-aware GAN for Text-to-Image Synthesis
Logger
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1704.00028 (2017-04)
Improved Training of Wasserstein GANs
OneHot 1 other paper
1 later
1611.01722 (2016-11)
Learning to Draw Samples: With Application to Amortized MLE for Generative Adversarial Learning
ResBlock
brick of this paper's assembly: helper
1 other paper
1 later
2108.12141 (2021-08)
DAE-GAN: Dynamic Aspect-aware GAN for Text-to-Image Synthesis
center_crop 1 other paper
1 later
1611.01722 (2016-11)
Learning to Draw Samples: With Application to Amortized MLE for Generative Adversarial Learning
gen_random
brick of this paper's assembly: sampler
1 other paper
1 later
1909.03935 (2019-09)
GAN-Leaks: A Taxonomy of Membership Inference Attacks against Generative Models
init_weights
brick of this paper's assembly: helper
1 other paper
1 later
2402.19197 (2024-02)
Fine Structure-Aware Sampling: A New Sampling Training Scheme for Pixel-Aligned Implicit Models in Single-View Human Reconstruction
intX 1 other paper
1 later
1611.01722 (2016-11)
Learning to Draw Samples: With Application to Amortized MLE for Generative Adversarial Learning
min_resize 1 other paper
1 later
1611.01722 (2016-11)
Learning to Draw Samples: With Application to Amortized MLE for Generative Adversarial Learning
weights_init
brick of this paper's assembly: entry, helper
1 other paper
1 later · 1 only as an assembly brick
2403.07874 (2024-03)
Beyond Text: Frozen Large Language Models in Visual Signal Comprehension

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

More are linked than shown here.

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In recent years, supervised learning with convolutional networks (CNNs) has seen huge adoption in computer vision applications. Comparatively, unsupervised learning with CNNs has received less attention. In this work we hope to help bridge the gap between the success of CNNs for supervised learning and unsupervised learning. We introduce a class of CNNs called deep convolutional generative adversarial networks (DCGANs), that have certain architectural constraints, and demonstrate that they are a strong candidate for unsupervised learning. Training on various image datasets, we show convincing evidence that our deep convolutional adversarial pair learns a hierarchy of representations from object parts to scenes in both the generator and discriminator. Additionally, we use the learned features for novel tasks -demonstrating their applicability as general image representations.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1511.06434")
get_code_for_paper("1511.06434")
have("1511.06434")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1511.06434.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1511.06434.svg)](https://syntology.ai/paper/1511.06434)

Connect an agent — have() is free.