SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.08410 · 2019

Neural Painters: A learned differentiable constraint for generating brushstroke paintings

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 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, 0 violated it and 9 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-23; 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/1904.08410.json · badge: /api/ran/1904.08410.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
reiinakano/neural-painters-pytorch canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
shauray8/Neural-Painter community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
get_style_model_and_losses Ran
ran on a synthesized input
shauray8/Neural-Painter/stylized_NP/utils.py
code served (permissive licence) · get_code("55ada60f4f779fd9")
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
import copy

torch.manual_seed(0)

# Create a minimal CNN with Conv2d, ReLU, MaxPool2d layers
cnn = nn.Sequential(
    nn.Conv2d(3, 16, kernel_size=3, padding=1),
    nn.ReLU(inplace=True),
    nn.MaxPool2d(kernel_size=2, stride=2),
    nn.Conv2d(16, 32, kernel_size=3, padding=1),
    nn.ReLU(inplace=True),
    nn.MaxPool2d(kernel_size=2, stride=2),
    nn.Conv2d(32, 64, kernel_size=3, padding=1),
    nn.ReLU(inplace=True),
    nn.MaxPool2d(kernel_size=2, stride=2),
    nn.Conv2d(64, 128, kernel_size=3, padding=1),
    nn.ReLU(inplace=True),
    nn.MaxPool2d(kernel_size=2, stride=2),
    nn.Conv2d(128, 256, kernel_size=3, padding=1),
    nn.ReLU(inplace=True),
)

# Normalization parameters
normalization_mean = [0.485, 0.456, 0.406]
normalization_std = [0.229, 0.224, 0.225]

# Create small style and content images
# Shape: (batch_size, channels, height, width)
style_img = torch.randn(2, 3, 32, 32)
content_img = torch.randn(2, 3, 32, 32)

# Default layer names
content_layers_default = ['conv_4']
style_layers_default = ['conv_1', 'conv_2', 'conv_3', 'conv_4', 'conv_5']

ARGS = {
    'cnn': cnn,
    'normalization_mean': normalization_mean,
    'normalization_std': normalization_std,
    'style_img': style_img,
    'content_img': content_img,
    'content_layers': content_layers_default,
    'style_layers': style_layers_default,
}
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
gram_matrix Ran
ran; our contract draft was wrong, not the code
shauray8/Neural-Painter/stylized_NP/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from Oldpan/Deep-Painterly-Harmonization-Pytorch, is pointer only (licence: NONE) · get_code("1090950b58e9358b")
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 Oldpan/Deep-Painterly-Harmonization-Pytorch, 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.

img_loader Ran
ran on a synthesized input
shauray8/Neural-Painter/stylized_NP/utils.py
code served (permissive licence) · get_code("2de30093c7a77a03")
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 4, dtype family float, shape (1, 3, 512, 512) 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
from PIL import Image
import io
import numpy as np

torch.manual_seed(0)

# Create a simple test image in memory
def create_test_image():
    # Create a small RGB image (64x64) using PIL
    img_array = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8)
    img = Image.fromarray(img_array, mode='RGB')
    
    # Save to bytes buffer
    buffer = io.BytesIO()
    img.save(buffer, format='PNG')
    buffer.seek(0)
    
    # Return as a temporary file-like object
    return buffer

# Create test image
test_image_buffer = create_test_image()

# Create a temporary file path using a string representation
# Since we can't do real file I/O, we'll create an actual small image file
import tempfile
import os

temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_image.png")

# Create and save a small test image
img_array = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8)
test_img = Image.fromarray(img_array, mode='RGB')
test_img.save(test_image_path)

ARGS = {
    'image_name': test_image_path,
    'device': 'cpu',
    'H': 512,
    'W': 512
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — 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 (1, 3, 512, 512) — shape (1, 3, 512, 512) 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
kl_loss_function Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/vae_painter.py
code served (permissive licence) · get_code("cd6fdf76fd433706")
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 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

torch.manual_seed(0)

# Create small tensors matching the function's usage
batch_size = 2
z_size = 4

# mu: used with .pow(2), needs to be a tensor of shape (batch_size, z_size)
mu = torch.randn(batch_size, z_size)

# logvar: used with .exp() and in sum, needs to be a tensor of shape (batch_size, z_size)
logvar = torch.randn(batch_size, z_size)

# kl_tolerance: scalar value used in multiplication with z_size
kl_tolerance = 0.5

# z_size: integer dimension size
z_size_param = 4

ARGS = {
    "mu": mu,
    "logvar": logvar,
    "kl_tolerance": kl_tolerance,
    "z_size": z_size_param
}
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 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
load_from_latest_checkpoint Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/gan_painter.py
code served (permissive licence) · get_code("80a2288104dbb177")
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 int, ndim 0, dtype family int, 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 torch.nn as nn
import torch.optim as optim
import tempfile
import os

torch.manual_seed(0)

# Define the models
action_size = 5
dim = 4

discriminator = nn.Module()
discriminator.load_state_dict = lambda x: None

generator = nn.Module()
generator.load_state_dict = lambda x: None

# Define optimizers
opt_disc = optim.Adam([torch.nn.Parameter(torch.randn(1))], lr=0.0002)
opt_gen = optim.Adam([torch.nn.Parameter(torch.randn(1))], lr=0.0002)

# Create a temporary directory for the checkpoint
savedir = tempfile.mkdtemp()
name = "test_model"

# Create a minimal checkpoint file
checkpoint_path = os.path.join(savedir, f'{name}_latest.tar')
checkpoint = {
    'discriminator_state_dict': {},
    'generator_state_dict': {},
    'opt_disc_state_dict': opt_disc.state_dict(),
    'opt_gen_state_dict': opt_gen.state_dict(),
    'batch_idx': 42
}
torch.save(checkpoint, checkpoint_path)

ARGS = {
    'savedir': savedir,
    'name': name,
    'discriminator': discriminator,
    'generator': generator,
    'opt_disc': opt_disc,
    'opt_gen': opt_gen
}
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 int, ndim 0, dtype family int, 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
load_from_latest_checkpoint Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/vae_painter.py
code served (permissive licence) · get_code("480c317886270e1d")
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 int, ndim 0, dtype family int, 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 os
import torch
import torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

class VAEEncoder(nn.Module):
    def __init__(self, z_size):
        super(VAEEncoder, self).__init__()
        self.conv1 = nn.Conv2d(3, 32, 4, stride=2)
        self.conv2 = nn.Conv2d(32, 64, 4, stride=2)
        self.conv3 = nn.Conv2d(64, 128, 4, stride=2)
        self.conv4 = nn.Conv2d(128, 256, 4, stride=2)
        self.fc_mu = nn.Linear(2 * 2 * 256, z_size)
        self.fc_log_var = nn.Linear(2 * 2 * 256, z_size)

    def forward(self, x):
        x = F.relu(self.conv1(x))
        x = F.relu(self.conv2(x))
        x = F.relu(self.conv3(x))
        x = F.relu(self.conv4(x))
        x = x.view(-1, 2 * 2 * 256)
        mu = self.fc_mu(x)
        log_var = self.fc_log_var(x)
        std = torch.exp(0.5 * log_var)
        eps = torch.randn_like(std)
        z = mu + eps * std
        return (z, mu, log_var)

class VAEDecoder(nn.Module):
    def __init__(self, z_size):
        super(VAEDecoder, self).__init__()
        self.fc = nn.Linear(z_size, 4 * 256)
        self.deconv1 = nn.ConvTranspose2d(1024, 128, 5, stride=2)
        self.deconv2 = nn.ConvTranspose2d(128, 64, 5, stride=2)
        self.deconv3 = nn.ConvTranspose2d(64, 32, 6, stride=2)
        self.deconv4 = nn.ConvTranspose2d(32, 3, 6, stride=2)

    def forward(self, x):
        x = self.fc(x)
        x = x.view(-1, 4 * 256, 1, 1)
        x = F.relu(self.deconv1(x))
        x = F.relu(self.deconv2(x))
        x = F.relu(self.deconv3(x))
        x = torch.sigmoid(self.deconv4(x))
        return x

class VAEPredictor(nn.Module):
    def __init__(self, action_size, z_size):
        super(VAEPredictor, self).__init__()
        self.fc1 = nn.Linear(action_size, 256)
        self.bn1 = nn.BatchNorm1d(256)
        self.fc2 = nn.Linear(256, 64)
        self.bn2 = nn.BatchNorm1d(64)
        self.fc3 = nn.Linear(64, 64)
        self.bn3 = nn.BatchNorm1d(64)
        self.fc_mu = nn.Linear(64, z_size)
        self.fc_log_var = nn.Linear(64, z_size)

    def forward(self, x):
        x = self.bn1(F.leaky_relu(self.fc1(x)))
        x = self.bn2(F.leaky_relu(self.fc2(x)))
        x = self.bn3(F.leaky_relu(self.fc3(x)))
        mu = self.fc_mu(x)
        log_var = self.fc_log_var(x)
        std = torch.exp(0.5 * log_var)
        eps = torch.randn_like(std)
        z = mu + eps * std
        return (z, mu, log_var)

z_size = 5
action_size = 3

encoder = VAEEncoder(z_size)
decoder = VAEDecoder(z_size)
predictor = VAEPredictor(action_size, z_size)

optimizer1 = torch.optim.Adam(encoder.parameters(), lr=0.001)
optimizer2 = torch.optim.Adam(decoder.parameters(), lr=0.001)

savedir = "/tmp"
name = "test_model"

ARGS = {
    "savedir": savedir,
    "name": name,
    "encoder": encoder,
    "decoder": decoder,
    "predictor": predictor,
    "optimizer1": optimizer1,
    "optimizer2": optimizer2,
}
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 int, ndim 0, dtype family int, 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
point_on_curve_1 Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/mypaint_env.py
code served (permissive licence) · get_code("1b08e1e68fe24bfe")
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, 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

torch.manual_seed(0)

# Analyze the function point_on_curve_1:
# It takes parameters: t, cx, cy, sx, sy, x1, y1, x2, y2
# All parameters are used in arithmetic operations (multiply_add, difference, etc.)
# They are treated as scalar numeric values
# The function performs: ratio = t / 100.0, then uses it in multiply operations
# multiply_add takes (x, y, x_offset, y_offset, scalar_multiplier)
# All parameters should be numeric scalars

ARGS = {
    't': 50.0,           # scalar: parameter for ratio calculation
    'cx': 1.5,           # scalar: center x coordinate
    'cy': 2.5,           # scalar: center y coordinate
    'sx': 0.5,           # scalar: start x coordinate
    'sy': 1.5,           # scalar: start y coordinate
    'x1': 3.0,           # scalar: x1 coordinate
    'y1': 4.0,           # scalar: y1 coordinate
    'x2': 5.0,           # scalar: x2 coordinate
    'y2': 6.0,           # scalar: y2 coordinate
}
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 tuple, ndim 1, dtype family float — a tuple 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
point_on_curve_2 Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/mypaint_env.py
code served (permissive licence) · get_code("943d47ec94e2ef34")
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, 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

torch.manual_seed(0)

ARGS = {
    't': 50.0,
    'cx': 1.5,
    'cy': 2.5,
    'sx': 0.5,
    'sy': 1.0,
    'kx': 2.0,
    'ky': 3.5,
    'x1': 0.1,
    'y1': 0.2,
    'x2': 0.3,
    'y2': 0.4,
    'x3': 0.5,
    'y3': 0.6,
}
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 tuple, ndim 1, dtype family float — a tuple 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
reconstruction_loss_function Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/common.py
code served (permissive licence) · get_code("3ce4d1fe2505363f")
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

torch.manual_seed(0)

# Create small tensors for the function
# The function expects:
# - recon_x: reconstructed image tensor
# - x: original image tensor
# - mask_multiplier: float value

# Based on the function body:
# - x and recon_x should have shape that allows mean(dim=1) -> (batch, 64, 64) after reshape
# - They're compared with ** 2 and summed over dims [1, 2, 3]
# - This suggests shape: (batch, channels, height, width)

batch_size = 2
channels = 3
height = 64
width = 64

# Create sample tensors with values in [0, 1] range (typical for images)
recon_x = torch.rand(batch_size, channels, height, width)
x = torch.rand(batch_size, channels, height, width)

# Test with mask_multiplier = 2.0 (non-default case)
mask_multiplier = 2.0

ARGS = {
    "recon_x": recon_x,
    "x": x,
    "mask_multiplier": mask_multiplier,
}
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
starting_point_for_ellipse Ran
ran on a synthesized input
reiinakano/neural-painters-pytorch/neural_painters/mypaint_env.py
code served (permissive licence) · get_code("fd1539c7b1eb5b85")
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, 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 math
import torch

torch.manual_seed(0)

ARGS = {
    "x": 2.5,
    "y": 3.7,
    "rotate": 45.0
}
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, ndim 1, dtype family float — a tuple 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
calc_gradient_penalty Not yet run
unverified (harvested, no recorded run)
reiinakano/neural-painters-pytorch/neural_painters/gan_painter.py
code served (permissive licence) · get_code("fd23c3d880c3e469")
How it ran

no invocation recorded.

paint_over_canvas Not yet run
unverified (harvested, no recorded run)
reiinakano/neural-painters-pytorch/neural_painters/canvas.py
code served (permissive licence) · get_code("d30ffba968994297")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 11 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
gram_matrix 12 other papers
4 dated earlier, 8 later
1508.06576 (2015-08)
A Neural Algorithm of Artistic Style
1703.07511 (2017-03)
Deep Photo Style Transfer
1804.03189 (2018-04)
Deep Painterly Harmonization
and 9 more not named here

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-23.

Repositories linked to this paper

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

Abstract

We explore neural painters, a generative model for brushstrokes learned from a real non-differentiable and non-deterministic painting program. We show that when training an agent to "paint" images using brushstrokes, using a differentiable neural painter leads to much faster convergence. We propose a method for encouraging this agent to follow human-like strokes when reconstructing digits. We also explore the use of a neural painter as a differentiable image parameterization. By directly optimizing brushstrokes to activate neurons in a pre-trained convolutional network, we can directly visualize ImageNet categories and generate "ideal" paintings of each class. Finally, we present a new concept called intrinsic style transfer. By minimizing only the content loss from neural style transfer, we allow the artistic medium, in this case, brushstrokes, to naturally dictate the resulting style.

For agents

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

get_harvested_code_for_paper("1904.08410")
get_code_for_paper("1904.08410")
have("1904.08410")

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

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

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

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

Connect an agent — have() is free.