SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1811.10597 · 2018

GAN Dissection: Visualizing and Understanding Generative Adversarial Networks

arXiv · PDF · Open in the Atlas

Code that ran

25 of 34 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 16 have no contract verdict; 8 failures of our instrument; 9 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/1811.10597.json · badge: /api/ran/1811.10597.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
CSAILVision/gandissect canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
alexandonian/ganocracy community (classifier label)
classifier basis not recorded on the link
10 ran · 4 no recorded run
sophiaalexander/GANDissect-for-High-Schoolers community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
AllenChen0958/homework3-GAN-Dissection community (classifier label)
classifier basis: plan_row
2 ran · 0 no recorded run
freedombenLiu/gandissect reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 3 no recorded run
FunctionStatusWhere it lives
D_arch Ran
ran; our contract draft was wrong, not the code
alexandonian/ganocracy/gan_training/ganocracy/models/biggan.py
pointer only (licence: MIT); the stored copy get_code serves, from VICO-UoE/IT-GAN, is pointer only (licence: NONE) · get_code("85eb95cce203dfc7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from VICO-UoE/IT-GAN, and GitHub detected no licence in that repository 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_arch Ran
ran; our contract draft was wrong, not the code
alexandonian/ganocracy/gan_training/ganocracy/models/biggan.py
pointer only (licence: MIT); the stored copy get_code serves, from VICO-UoE/IT-GAN, is pointer only (licence: NONE) · get_code("e8c308c9283407d7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from VICO-UoE/IT-GAN, and GitHub detected no licence in that repository 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.

activation_surface Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/actviz.py
code served (permissive licence) · get_code("be1a5843b99a3274")
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 ndarray, ndim 2, dtype family float, shape (5, 7) 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 numpy
from scipy.interpolate import RectBivariateSpline

# Create a small 2D numpy array as data
data = numpy.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0],
    [7.0, 8.0, 9.0]
], dtype=numpy.float32)

# Define arguments for activation_surface function
ARGS = {
    'data': data,
    'target_shape': (5, 7),
    'source_shape': (3, 3),
    'scale_offset': ((2.0, 1.0), (1.5, 0.5)),
    'deg': 1,
    'pad': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 7) — shape (5, 7) 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: none by the harness; any seed is in the setup block
activation_visualization Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/actviz.py
code served (permissive licence) · get_code("add93cb6d00227f2")
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 ndarray, ndim 3, dtype family float, shape (32, 48, 3) 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 numpy
import torch

# Create a small activation map (feature map)
data = numpy.random.rand(8, 12).astype(numpy.float32)

# Create a small image
image = numpy.random.rand(32, 48, 3).astype(numpy.uint8)

# Level threshold for activation
level = 0.5

# Build the ARGS dictionary with all parameters for activation_visualization
ARGS = {
    "image": image,
    "data": data,
    "level": level,
    "alpha": 0.5,
    "source_shape": None,
    "crop": False,
    "zoom": None,
    "border": 2,
    "negate": False,
    "return_mask": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (32, 48, 3) — shape (32, 48, 3) 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: none by the harness; any seed is in the setup block
activation_visualization Ran
ran on a synthesized input
sophiaalexander/GANDissect-for-High-Schoolers/netdissect/actviz.py
code served (permissive licence) · get_code("2813ec86a0e1c405")
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 ndarray, ndim 3, dtype family float, shape (4, 5, 3) 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 numpy
import torch

# Create small test data for activation_visualization
# The function expects:
# - image: array with shape (height, width) or (height, width, channels)
# - data: single channel feature map (2D array)
# - level: threshold value (float)
# - alpha: blend factor (float)
# - source_shape: optional tuple for source shape
# - target_shape: optional tuple for target shape
# - crop: boolean
# - zoom: optional zoom parameter
# - border: integer for border width
# - negate: boolean
# - return_mask: boolean
# - **kwargs: passed to activation_surface (scale_offset, deg, pad)

# Create a small image (4x5 with 3 channels)
image = numpy.random.rand(4, 5, 3).astype(numpy.float32)

# Create a small feature map (2x3)
data = numpy.random.rand(2, 3).astype(numpy.float32)

# Activation level threshold
level = 0.5

# Other parameters
alpha = 0.5
source_shape = (2, 3)
target_shape = (4, 5)
crop = False
zoom_param = None
border = 2
negate = False
return_mask = False

# Additional kwargs for activation_surface
scale_offset = None
deg = 1
pad = True

ARGS = {
    'image': image,
    'data': data,
    'level': level,
    'alpha': alpha,
    'source_shape': source_shape,
    'target_shape': target_shape,
    'crop': crop,
    'zoom': zoom_param,
    'border': border,
    'negate': negate,
    'return_mask': return_mask,
    'scale_offset': scale_offset,
    'deg': deg,
    'pad': pad,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (4, 5, 3) — shape (4, 5, 3) 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: none by the harness; any seed is in the setup block
annotate_model_shapes Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/modelconfig.py
code served (permissive licence) · get_code("6bc3f04e4a74356d")
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 SimpleModel. 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 SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(3, 16, kernel_size=3, padding=1)
        self.linear = nn.Linear(16 * 4 * 4, 10)
    
    def forward(self, x):
        x = self.conv1(x)
        x = torch.nn.functional.adaptive_avg_pool2d(x, (4, 4))
        x = x.view(x.size(0), -1)
        x = self.linear(x)
        return x
    
    def retained_features(self):
        return {
            'conv1': torch.zeros(1, 16, 4, 4),
            'linear': torch.zeros(1, 10)
        }

model = SimpleModel()

ARGS = {
    'model': model,
    'gen': False,
    'imgsize': (4, 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 SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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
autoimport_eval Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/autoeval.py
code served (permissive licence) · get_code("4acf7e1c09b788e9")
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 dict. 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 collections import defaultdict

torch.manual_seed(0)

# The function takes a single parameter: term
# term should be a string that can be evaluated as a Python expression
# The autoimport_eval function uses eval() to evaluate this term
# with an AutoImportDict that auto-imports modules

# Simple test cases for term parameter:
# 1. A builtin: "dict" 
# 2. A module reference: "torch.nn"
# 3. A class constructor: "torch.nn.Linear(4, 3)"

ARGS = {
    "term": "dict(a=1, b=2)"
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
build_dense_label_array Ran
ran; our contract draft was wrong, not the code
AllenChen0958/homework3-GAN-Dissection/netdissect/broden.py
code served (permissive licence) · get_code("1ca87d6074add59d")
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 list, ndim 1, 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 numpy as np

# Construct label_data: a list of dicts with 'number' field and other fields
label_data = [
    {'number': 0, 'label': 'a', 'value': 1.5},
    {'number': 1, 'label': 'b', 'value': 2.5},
    {'number': 3, 'label': 'c', 'value': 3.5},  # Note: skips 2, testing gap-filling
]

ARGS = {
    'label_data': label_data,
    'key': 'number',
    'allow_none': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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: none by the harness; any seed is in the setup block
build_numpy_category_map Ran
ran; our contract draft was wrong, not the code
CSAILVision/gandissect/netdissect/broden.py
code served (permissive licence) · get_code("2df0915cd60cd1be")
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 list. 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 os, errno, numpy, torch, csv, re, shutil, zipfile

# Construct map_data - a list of dictionaries with 'code' and 'number' fields
map_data = [
    {'code': 0, 'number': 10},
    {'code': 1, 'number': 11},
    {'code': 2, 'number': 12},
    {'code': 3, 'number': 13},
    {'code': 4, 'number': 14},
]

ARGS = {
    'map_data': map_data,
    'key1': 'code',
    'key2': 'number'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is 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
create_temp_mmap_grid Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/dissection.py
code served (permissive licence) · get_code("50f195ea6bd9b847")
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 memmap. 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 numpy
import os
import re
import json
import shutil
import types
import tempfile
import torchvision

torch.manual_seed(0)

# The function create_temp_mmap_grid takes:
# - shape: a tuple of integers representing array dimensions
# - dtype: a numpy dtype or string representation
# - fill: a scalar value to fill the array with

ARGS = {
    'shape': (4, 3, 2),
    'dtype': 'float32',
    'fill': 0.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type memmap — a memmap output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a memmap output the recorded ndim 3 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
gram_schmidt Ran
ran; our contract draft was wrong, not the code
alexandonian/ganocracy/gan_training/ganocracy/layers/norm.py
code served (permissive licence) · get_code("9741295ab539fa46")
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 Tensor, ndim 2, dtype family float, shape (1, 4) 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

torch.manual_seed(0)

# x is a tensor that gets projected onto vectors in ys
# ys is a list of vectors (tensors) for orthogonalization
# Based on the function body:
# - x and each y in ys are used with torch.mm, so they need to be 2D
# - proj(x, y) computes torch.mm(y, x.t()) * y / torch.mm(y, y.t())
# - This means y @ x.t() should work, so x and y should be compatible for matrix mult
# - y is 1 x D, x is 1 x D works for the projection formula

# Create x: shape (1, 4)
x = torch.randn(1, 4)

# Create ys: list of orthogonal-ish vectors, each shape (1, 4)
y1 = torch.randn(1, 4)
y2 = torch.randn(1, 4)
ys = [y1, y2]

ARGS = {
    "x": x,
    "ys": ys,
}
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 Tensor, ndim 2, dtype family float, shape (1, 4) — shape (1, 4) 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: none by the harness; any seed is in the setup block
hook_sizes Ran
ran on a synthesized input
alexandonian/ganocracy/gan_training/ganocracy/models/utils.py
code served (permissive licence) · get_code("494bb0ccbe9e7198")
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 tuple. 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)

# Build a small model G that will work with hook_sizes
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        # Create leaf modules with parameters
        self.fc1 = nn.Linear(4, 3)
        self.fc2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.fc1(x)
        x = self.fc2(x)
        return x

G = SimpleModel()

# Create input tensors with small batch size and dimensions
# batch=2, feature_dim=4
inputs = (torch.randn(2, 4),)

# Define arguments dict
ARGS = {
    "G": G,
    "inputs": inputs,
    "verbose": True
}
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 tuple — a tuple output has no array shape of its own; none is 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
index_has_any_data Ran
ran, violated the contract we drafted
AllenChen0958/homework3-GAN-Dissection/netdissect/broden.py
code served (permissive licence) · get_code("130670bcfa93f2d8")
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 bool, ndim 0, dtype family float, shape () 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 numpy as np

torch.manual_seed(0)

# The function index_has_any_data takes a row (dict-like) and categories (iterable)
# It iterates through categories, accesses row[c], and iterates through data in row[c]
# It checks if any data is truthy
# So row should be a dict with category keys mapping to iterables of values

row = {
    'category_a': [0, 1, 0],  # Some falsy, some truthy values
    'category_b': [False, False],  # All falsy
    'category_c': [],  # Empty list
}

categories = ['category_a', 'category_b', 'category_c']

ARGS = {
    'row': row,
    'categories': categories,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () 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: none by the harness; any seed is in the setup block
interp Ran
ran on a synthesized input
alexandonian/ganocracy/gan_training/ganocracy/utils/visualizer.py
code served (permissive licence) · get_code("a4672b1fe29d691a")
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 Tensor, ndim 3, dtype family float, shape (2, 5, 4) as a later run recorded it. 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, 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

torch.manual_seed(0)

# Create small tensors with batch_size=2 and feature dimensions
# x0 and x1 should have shape [batch_size, ...]
x0 = torch.randn(2, 4)  # batch_size=2, feature_dim=4
x1 = torch.randn(2, 4)  # batch_size=2, feature_dim=4

num_midpoints = 3

device = 'cpu'

ARGS = {
    'x0': x0,
    'x1': x1,
    'num_midpoints': num_midpoints,
    'device': device,
}
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 Tensor, ndim 3, dtype family float, shape (2, 5, 4) — shape (2, 5, 4) 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: none by the harness; any seed is in the setup block
load_json Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/easydict.py
code served (permissive licence) · get_code("c4b1e3a489d47780")
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 EasyDict. 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 json
import tempfile
import os

# Create a temporary JSON file for testing
temp_dir = tempfile.mkdtemp()
test_json_file = os.path.join(temp_dir, "test_config.json")

# Write a simple JSON file
test_data = {
    "model": "resnet50",
    "learning_rate": 0.001,
    "batch_size": 32,
    "nested": {
        "x": 1,
        "y": 2
    },
    "items": [
        {"name": "item1", "value": 10},
        {"name": "item2", "value": 20}
    ]
}

with open(test_json_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "filename": test_json_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
make_svg_bargraph Ran
ran on a synthesized input
sophiaalexander/GANDissect-for-High-Schoolers/netdissect/bargraph.py
code served (permissive licence) · get_code("02a5ab7f9313f3cf")
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 str. 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 numpy as np
from xml.etree import ElementTree as et

torch.manual_seed(0)

# Construct arguments for make_svg_bargraph
# The function expects:
# - labels: list of strings (bar labels)
# - heights: list of numbers (bar heights)
# - categories: list of tuples (category_name, count) - optional
# - palette: list of color tuples - optional
# - barheight, barwidth: numeric parameters
# - show_labels: boolean
# - file_header: boolean

labels = ['bar1', 'bar2', 'bar3', 'bar4', 'bar5']
heights = [5, 10, 7, 12, 8]
categories = [('group A', 2), ('group B', 3)]
palette = [('#FF0000', '#FFCCCC'), ('#00FF00', '#CCFFCC'), ('#0000FF', '#CCCCFF')]
barheight = 100
barwidth = 12
show_labels = True
file_header = False

ARGS = {
    'labels': labels,
    'heights': heights,
    'categories': categories,
    'palette': palette,
    'barheight': barheight,
    'barwidth': barwidth,
    'show_labels': show_labels,
    'file_header': file_header
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
mask_border Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/actviz.py
code served (permissive licence) · get_code("caca87125879a567")
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 ndarray, ndim 2, dtype family int, shape (4, 4) 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 numpy

# Create a small binary mask for testing
# The function expects a 2D array with boolean/int values
mask = numpy.array([
    [1, 1, 0, 0],
    [1, 1, 0, 0],
    [0, 0, 1, 1],
    [0, 0, 1, 1]
], dtype='int')

# Define arguments for mask_border function
ARGS = {
    'mask': mask,
    'border': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (4, 4) — shape (4, 4) 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: none by the harness; any seed is in the setup block
power_iteration Ran
ran; our contract draft was wrong, not the code
alexandonian/ganocracy/gan_training/ganocracy/layers/norm.py
code served (permissive licence) · get_code("c14a1db70dacc94a")
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 tuple. 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.functional as F

torch.manual_seed(0)

# Analyze the function signature and body:
# - W: used with torch.matmul(u, W) and torch.matmul(v, W.t()), so needs to be a 2D tensor
# - u_: iterated over, each element u is used with torch.matmul operations, so it's a list of 1D or 2D tensors
# - update: boolean flag
# - eps: float for normalization

# Create a small weight matrix W (4x3 for distinction)
W = torch.randn(4, 3)

# Create initial vectors u_ as a list of 1D tensors
# Each u should be compatible with torch.matmul(u, W) where W is (4, 3)
# So u should be (1, 4) or similar to produce output of shape (1, 3)
u_ = [
    torch.randn(1, 4),
    torch.randn(1, 4),
]

# Standard parameters
update = True
eps = 1e-12

ARGS = {
    "W": W,
    "u_": u_,
    "update": update,
    "eps": eps,
}
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 tuple — a tuple output has no array shape of its own; none is 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
resfile Ran
ran on a synthesized input
sophiaalexander/GANDissect-for-High-Schoolers/dissect_resnet152.py
code served (permissive licence) · get_code("c9a9646005727be8")
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 str. 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 os

resdir = 'dissect/resnet152-places'

def resfile(filename):
    return os.path.join(resdir, filename)

ARGS = {
    'filename': 'model.pth'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
scale_summary Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/aceoptimize.py
code served (permissive licence) · get_code("62613471797cd12b")
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 str. 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

torch.manual_seed(0)

# scale_summary expects:
# - scale: a tensor that supports .detach(), .cpu(), .sort()
# - lownums: an integer for slicing the lowest values
# - highnums: an integer for slicing the highest values

# Create a small tensor with distinct values
scale = torch.randn(7)

ARGS = {
    'scale': scale,
    'lownums': 2,
    'highnums': 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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
shared_temp_mmap_grid Ran
ran on a synthesized input
CSAILVision/gandissect/netdissect/dissection.py
code served (permissive licence) · get_code("29455122b233b9d8")
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 memmap. 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 numpy
import tempfile
import os

# Create a temporary directory for the memory-mapped file
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_mmap.bin")

# Create the memory-mapped file with test data
shape = (4, 3)
dtype = numpy.float32
mmap_array = numpy.memmap(temp_file, dtype=dtype, mode='w+', shape=shape)
mmap_array[:] = numpy.random.randn(*shape)
mmap_array.flush()

ARGS = {
    "filename": temp_file,
    "shape": shape,
    "dtype": dtype,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type memmap — a memmap output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a memmap output the recorded ndim 2 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
smooth_data Ran
ran on a synthesized input
alexandonian/ganocracy/gan_training/ganocracy/utils/visualizer.py
code served (permissive licence) · get_code("dcc34da31f1514dd")
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 ndarray, ndim 1, dtype family float, shape (10,) 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 numpy as np

# Construct valid arguments for smooth_data function
data = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0])
amount = 0.5

ARGS = {
    "data": data,
    "amount": amount,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (10,) — shape (10,) 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: none by the harness; any seed is in the setup block
sqrt_newton_schulz Ran
ran; our contract draft was wrong, not the code
alexandonian/ganocracy/gan_training/ganocracy/metrics/inception_score.py
code served (permissive licence) · get_code("16aba3aaeb3655f3")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) 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

torch.manual_seed(0)

# Create a small batch of positive semi-definite matrices
# Using shape (batchSize=2, dim=4, dim=4)
batchSize = 2
dim = 4

# Create random matrices and make them symmetric positive semi-definite
# by computing A @ A.T
random_matrices = torch.randn(batchSize, dim, dim)
A = torch.bmm(random_matrices, random_matrices.transpose(1, 2))

numIters = 5
dtype = None

ARGS = {
    "A": A,
    "numIters": numIters,
    "dtype": dtype,
}
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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: none by the harness; any seed is in the setup block
torch_cov Ran
ran; our contract draft was wrong, not the code
alexandonian/ganocracy/gan_training/ganocracy/metrics/inception_score.py
code served (permissive licence) · get_code("764abafe62f0d3e9")
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 Tensor, ndim 2, dtype family float, shape (5, 5) 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

torch.manual_seed(0)

# Create a small 2-D tensor for testing
# Shape: (3, 5) - 3 variables, 5 observations
m = torch.randn(3, 5, dtype=torch.float32)

ARGS = {
    "m": m,
    "rowvar": False,
}
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 Tensor, ndim 2, dtype family float, shape (5, 5) — shape (5, 5) 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: none by the harness; any seed is in the setup block
truncated_z_sample Ran
ran on a synthesized input
alexandonian/ganocracy/gan_training/ganocracy/utils/visualizer.py
code served (permissive licence) · get_code("db2b0dc3665a41d1")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. 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, 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 numpy as np
from scipy.stats import truncnorm

torch.manual_seed(0)

ARGS = {
    'batch_size': 2,
    'dim_z': 4,
    'truncation': 1.0,
    'seed': 42,
    'device': 'cpu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, 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, 4) — shape (2, 4) 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: none by the harness; any seed is in the setup block
accuracy Not yet run
unverified (harvested, no recorded run)
alexandonian/ganocracy/gan_training/ganocracy/metrics/train_inception.py
pointer only (licence: MIT); the stored copy get_code serves, from zbh2047/clipping-algorithms, is pointer only (licence: NONE) · get_code("9b8289076669fe4f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zbh2047/clipping-algorithms, and GitHub detected no licence in that repository 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. No invocation recorded.

activation_surface Not yet run
unverified (harvested, no recorded run)
sophiaalexander/GANDissect-for-High-Schoolers/netdissect/actviz.py
code served (permissive licence) · get_code("ea83571322bf19bd")
How it ran

no invocation recorded.

draw_heatmap Not yet run
unverified (harvested, no recorded run)
CSAILVision/gandissect/netdissect/aceoptimize.py
code served (permissive licence) · get_code("23f4b6af18f81f92")
How it ran

no invocation recorded.

get_layers Not yet run
unverified (harvested, no recorded run)
freedombenLiu/gandissect/netdissect/server.py
code served (permissive licence) · get_code("a7ff4317d03c4c34")
How it ran

no invocation recorded.

get_rankings Not yet run
unverified (harvested, no recorded run)
freedombenLiu/gandissect/netdissect/server.py
code served (permissive licence) · get_code("25db45525a41991f")
How it ran

no invocation recorded.

get_units Not yet run
unverified (harvested, no recorded run)
freedombenLiu/gandissect/netdissect/server.py
code served (permissive licence) · get_code("ba5a60de38335521")
How it ran

no invocation recorded.

numpy_calculate_frechet_distance Not yet run
unverified (harvested, no recorded run)
alexandonian/ganocracy/gan_training/ganocracy/metrics/inception_score.py
code served (permissive licence) · get_code("7f2187cc95ef4c91")
How it ran

no invocation recorded.

proj Not yet run
unverified (harvested, no recorded run)
alexandonian/ganocracy/gan_training/ganocracy/layers/norm.py
code served (permissive licence) · get_code("cc36462ea199cca3")
How it ran

no invocation recorded.

validate Not yet run
unverified (harvested, no recorded run)
alexandonian/ganocracy/gan_training/ganocracy/metrics/train_inception.py
code served (permissive licence) · get_code("65677fad42a182e2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 34 samples lifted from this paper's linked repositories, 34 carry a function identity and 0 do not. Of the 33 distinct functions with an identity, 12 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 1 the same month, 12 later) and 21 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
accuracy 80 other papers
9 dated earlier, 2 the same month, 69 later
1307.0414 (2013-07)
Challenges in Representation Learning: A report on three machine learning contests
1412.6553 (2014-12)
Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition
1503.02531 (2015-03)
Distilling the Knowledge in a Neural Network
and 77 more not named here
gram_schmidt 28 other papers
1 dated earlier, 27 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1910.05852 (2019-10)
Implicit competitive regularization in GANs
1912.00953 (2019-12)
LOGAN: Latent Optimisation for Generative Adversarial Networks
and 25 more not named here
proj 28 other papers
1 dated earlier, 27 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1910.05852 (2019-10)
Implicit competitive regularization in GANs
1912.00953 (2019-12)
LOGAN: Latent Optimisation for Generative Adversarial Networks
and 25 more not named here
power_iteration 25 other papers
1 dated earlier, 24 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1910.05852 (2019-10)
Implicit competitive regularization in GANs
1912.00953 (2019-12)
LOGAN: Latent Optimisation for Generative Adversarial Networks
and 22 more not named here
G_arch 18 other papers
1 dated earlier, 17 later · 3 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
2003.13659 (2020-03)
Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation
and 15 more not named here
D_arch 15 other papers
1 dated earlier, 14 later
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
2003.13659 (2020-03)
Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation
and 12 more not named here
torch_cov 12 other papers
1 dated earlier, 11 later
1406.2661 (2014-06)
Generative Adversarial Networks
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
2004.00917 (2020-04)
Controllable Orthogonalization in Training DNNs
and 9 more not named here
sqrt_newton_schulz 6 other papers
1 dated earlier, 5 later
1406.2661 (2014-06)
Generative Adversarial Networks
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
2004.00917 (2020-04)
Controllable Orthogonalization in Training DNNs
and 3 more not named here
build_dense_label_array 1 other paper
1 later
2310.18443 (2023-10)
Towards a fuller understanding of neurons with Clustered Compositional Explanations
build_numpy_category_map 1 other paper
1 later
2310.18443 (2023-10)
Towards a fuller understanding of neurons with Clustered Compositional Explanations
index_has_any_data 1 other paper
1 later
2310.18443 (2023-10)
Towards a fuller understanding of neurons with Clustered Compositional Explanations
load_json 1 other paper
1 later
2110.04292 (2021-10)
Toward a Visual Concept Vocabulary for GAN Latent Space

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

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

Abstract

Generative Adversarial Networks (GANs) have recently achieved impressive results for many real-world applications, and many GAN variants have emerged with improvements in sample quality and training stability. However, they have not been well visualized or understood. How does a GAN represent our visual world internally? What causes the artifacts in GAN results? How do architectural choices affect GAN learning? Answering such questions could enable us to develop new insights and better models. In this work, we present an analytic framework to visualize and understand GANs at the unit-, object-, and scene-level. We first identify a group of interpretable units that are closely related to object concepts using a segmentation-based network dissection method. Then, we quantify the causal effect of interpretable units by measuring the ability of interventions to control objects in the output. We examine the contextual relationship between these units and their surroundings by inserting the discovered object concepts into new images. We show several practical applications enabled by our framework, from comparing internal representations across different layers, models, and datasets, to improving GANs by locating and removing artifact-causing units, to interactively manipulating objects in a scene. We provide open source interpretation tools to help researchers and practitioners better understand their GAN models.

For agents

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

get_harvested_code_for_paper("1811.10597")
get_code_for_paper("1811.10597")
have("1811.10597")

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

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

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

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

Connect an agent — have() is free.