SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1907.10830 · 2019

U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation

arXiv · PDF · Open in the Atlas

Code that ran

24 of 36 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; 1 honoured the contract we drafted, 1 violated it and 16 have no contract verdict; 6 failures of our instrument; 12 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/1907.10830.json · badge: /api/ran/1907.10830.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
znxlwm/UGATIT-pytorch canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
sangyun884/WebtoonFaces community (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
alililia/ascend_U-GAT-IT community (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
minivision-ai/photo2cartoon community (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
t04glovern/selfie2anime community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
WuZhewei/my_First_GAN_tryout community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
jayChung0302/DeepFilter community (classifier label)
classifier basis not recorded on the link
1 ran · 3 no recorded run
FunctionStatusWhere it lives
calculate_activation_statistics Ran
ran on a synthesized input
sangyun884/WebtoonFaces/gan_metrics_pytorch/fid_score.py
code served (permissive licence) · get_code("fa02bf7e7932504d")
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 numpy as np

torch_seed = 0
np.random.seed(torch_seed)

# Create activation statistics as a small numpy array
# Batch size: 2, Feature dimension: 4
# This represents activations from a model's layer (e.g., pool_3 from Inception)
act = np.random.randn(2, 4).astype(np.float32)

ARGS = {
    "act": act,
}
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 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
deprocess Ran
ran on a synthesized input
jayChung0302/DeepFilter/utils.py
code served (permissive licence) · get_code("a02edf11f9d11fba")
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 as np
import torch

torch.manual_seed(0)

# Create a sample image_np that matches what deprocess expects
# The function does: squeeze(), transpose(1, 2, 0)
# So input should be shape (1, 3, 4, 5) or (3, 4, 5)
# After squeeze and transpose, it becomes (4, 5, 3)
# This matches the reshapes in the function: (1, 1, 3)

image_np = np.random.randn(1, 3, 4, 5).astype(np.float32)

ARGS = {
    "image_np": image_np
}
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 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
extract_lenet_features Ran
ran on a synthesized input
sangyun884/WebtoonFaces/gan_metrics_pytorch/kid_score.py
code served (permissive licence) · get_code("ad1334727ae62246")
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 (200, 8) 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 numpy as np
import torch
import torch.nn as nn

torch.manual_seed(0)

class MockLeNetFeatureExtractor(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(3, 8, kernel_size=3, padding=1)
    
    def extract_features(self, images):
        # images shape: (batch, 3, height, width)
        # Return a small feature tensor
        return self.conv1(images).mean(dim=[2, 3])  # Returns (batch, 8)

# Create a mock network
net = MockLeNetFeatureExtractor()

# Create mock image data
# Shape: (200, 3, 4, 4) - 200 images, 3 channels, 4x4 spatial dims
# Values in range [-1, 1] to trigger the normalization in the function
imgs = np.random.uniform(-1, 1, size=(200, 3, 4, 4)).astype(np.float32)

ARGS = {
    'imgs': imgs,
    'net': net,
}
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 ndarray, ndim 2, dtype family float, shape (200, 8) — shape (200, 8) 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
extract_text_body Ran
ran on a synthesized input
t04glovern/selfie2anime/components/data-delete-requests/utils.py
code served (permissive licence) · get_code("72e396da0b31090e")
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 email
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart

# Create a simple multipart email with text/plain content
msg = MIMEMultipart()
msg['Subject'] = 'Test Email'
msg['From'] = 'sender@example.com'
msg['To'] = 'recipient@example.com'

# Add a text/plain part
text_part = MIMEText('This is the email body content.', 'plain', 'utf-8')
msg.attach(text_part)

# Parse the message to get an email.message.Message object
parsed_email = email.message_from_string(msg.as_string())

ARGS = {
    'parsed_email': parsed_email
}
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 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
find_classes Ran
ran; our contract draft was wrong, not the code
znxlwm/UGATIT-pytorch/dataset.py
code served (permissive licence) · get_code("52d10a10fb72fb9f")
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 os
import tempfile
import shutil

# Create a temporary directory with some subdirectories to simulate a class directory structure
temp_dir = tempfile.mkdtemp()
os.makedirs(os.path.join(temp_dir, "class_a"), exist_ok=True)
os.makedirs(os.path.join(temp_dir, "class_b"), exist_ok=True)
os.makedirs(os.path.join(temp_dir, "class_c"), exist_ok=True)

ARGS = {
    "dir": temp_dir
}
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 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
get_block Ran
ran, honoured the contract we drafted
minivision-ai/photo2cartoon/models/mobilefacenet.py
code served (permissive licence) · get_code("ad5dbf57f3ea2633")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned list, ndim 2, dtype family int; 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
from collections import namedtuple

torch.manual_seed(0)

# The function get_block takes in_channel, depth, num_units, and stride
# It returns a list of Bottleneck namedtuples

ARGS = {
    'in_channel': 64,
    'depth': 128,
    'num_units': 3,
    'stride': 2
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — 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
get_blocks Ran
ran; our contract draft was wrong, not the code
minivision-ai/photo2cartoon/models/mobilefacenet.py
pointer only (licence: MIT); the stored copy get_code serves, from VladAndronik/face_swap, is pointer only (licence: NONE) · get_code("ea7941eb1ea8ffb2")
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 VladAndronik/face_swap, 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.

has_file_allowed_extension Ran
ran, violated the contract we drafted
znxlwm/UGATIT-pytorch/dataset.py
code served (permissive licence) · get_code("e800290c5ea55efd")
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.

# Setup code for has_file_allowed_extension

# The function checks if a filename ends with any of the allowed extensions
# filename: a string representing a file path
# extensions: an iterable of extension strings (like ['.jpg', '.png'])

filename = "image.jpg"
extensions = ['.jpg', '.png', '.gif', '.bmp', '.jpeg']

ARGS = {
    'filename': filename,
    'extensions': extensions
}
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 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
integer_translation Ran
ran on a synthesized input
sangyun884/WebtoonFaces/ADA.py
code served (permissive licence) · get_code("2296f6890f1691ee")
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 Image. 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
import PIL
import random
from PIL import Image
from torchvision import transforms

torch.manual_seed(0)
np.random.seed(0)
random.seed(0)

# Create a small PIL Image
pil_img = Image.new('RGB', (64, 48), color='red')

# Create arguments dictionary
ARGS = {
    'img': pil_img,
    'p': 0.7,
    'r': 0.125
}
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 Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
kernel_classifier_distance_and_std_from_activations Ran
ran on a synthesized input
alililia/ascend_U-GAT-IT/src/metrics/metrics.py
code served (permissive licence) · get_code("b618276bbfb0ff04")
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 numpy as np
import math

# Create small numpy arrays for real and generated activations
# real_activations: shape (num_real_samples, feature_dim)
# generated_activations: shape (num_generated_samples, feature_dim)
real_activations = np.random.randn(6, 4).astype(np.float32)
generated_activations = np.random.randn(5, 4).astype(np.float32)

ARGS = {
    'real_activations': real_activations,
    'generated_activations': generated_activations,
    'max_block_size': 10,
    'dtype': np.float32,
}
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 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
l2_norm Ran
ran; our contract draft was wrong, not the code
minivision-ai/photo2cartoon/models/mobilefacenet.py
code served (permissive licence) · get_code("c54fea429589425d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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. 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)

input_tensor = torch.randn(2, 4)
axis = 1

ARGS = {
    'input': input_tensor,
    'axis': axis
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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, 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
load_test_data Ran
ran on a synthesized input
WuZhewei/my_First_GAN_tryout/utils.py
code served (permissive licence) · get_code("dcce1222c3697159")
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 4, dtype family float, shape (1, 256, 256, 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 cv2
import numpy as np
import tempfile
import os

# Create a temporary test image
temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_image.jpg")

# Create a simple RGB test image (256x256x3)
test_img = np.random.randint(0, 256, (256, 256, 3), dtype=np.uint8)
cv2.imwrite(test_image_path, cv2.cvtColor(test_img, cv2.COLOR_RGB2BGR))

ARGS = {
    "image_path": test_image_path,
    "size": 256
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (1, 256, 256, 3) — shape (1, 256, 256, 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
load_test_data Ran
ran on a synthesized input
minivision-ai/photo2cartoon/utils/utils.py
code served (permissive licence) · get_code("f2723b22ce3e5bcf")
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 4, dtype family float, shape (1, 256, 256, 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 cv2
import numpy as np
import tempfile
import os

# Create a temporary test image file
temp_dir = tempfile.mkdtemp()
image_path = os.path.join(temp_dir, "test_image.png")

# Create a simple test image (256x256 RGB)
test_image = np.random.randint(0, 255, (256, 256, 3), dtype=np.uint8)
cv2.imwrite(image_path, test_image)

ARGS = {
    "image_path": image_path,
    "size": 256
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (1, 256, 256, 3) — shape (1, 256, 256, 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
make_dataset Ran
ran on a synthesized input
znxlwm/UGATIT-pytorch/dataset.py
code served (permissive licence) · get_code("c0cc8abf625f3018")
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 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 os
import tempfile
import shutil

# Create a temporary directory structure with test files
temp_dir = tempfile.mkdtemp()

# Create subdirectories and files
os.makedirs(os.path.join(temp_dir, "subdir1"), exist_ok=True)
os.makedirs(os.path.join(temp_dir, "subdir2"), exist_ok=True)

# Create some files with allowed extensions
open(os.path.join(temp_dir, "image1.jpg"), "w").close()
open(os.path.join(temp_dir, "image2.png"), "w").close()
open(os.path.join(temp_dir, "subdir1", "image3.jpeg"), "w").close()
open(os.path.join(temp_dir, "subdir1", "image4.gif"), "w").close()
open(os.path.join(temp_dir, "subdir2", "image5.bmp"), "w").close()

# Create some files with non-allowed extensions
open(os.path.join(temp_dir, "document.txt"), "w").close()
open(os.path.join(temp_dir, "subdir1", "data.csv"), "w").close()

# Define allowed extensions
extensions = [".jpg", ".jpeg", ".png", ".gif", ".bmp"]

ARGS = {
    "dir": temp_dir,
    "extensions": extensions
}
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 list, ndim 2, 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
make_dataset Ran
ran on a synthesized input
sangyun884/WebtoonFaces/dataset.py
code served (permissive licence) · get_code("273d5df61b8a0cd5")
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 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 os
import tempfile
import shutil

# Create a temporary directory structure with some test files
temp_dir = tempfile.mkdtemp()
os.makedirs(os.path.join(temp_dir, "subdir"), exist_ok=True)

# Create some test files with various extensions
test_files = [
    "image1.jpg",
    "image2.png",
    "image3.gif",
    "document.txt",
    "image4.JPG",
]

for fname in test_files[:3]:
    open(os.path.join(temp_dir, fname), 'w').close()

for fname in test_files[3:]:
    open(os.path.join(temp_dir, "subdir", fname), 'w').close()

# Define the arguments
ARGS = {
    "dir": temp_dir,
    "extensions": (".jpg", ".png", ".gif", ".JPG", ".PNG", ".GIF"),
    "target": 0,
}
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 list, ndim 2, 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
me Ran
ran on a synthesized input
t04glovern/selfie2anime/components/image-handler/sharer.py
code served (permissive licence) · get_code("8680451bc76772d9")
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
import torch.nn as nn
from unittest.mock import Mock

# The function 'me' is an AWS Lambda handler that:
# 1. Extracts 'uuid' from event['queryStringParameters']['uuid']
# 2. Formats URLs and templates using that uuid
# 3. Returns an HTML response

# Minimal setup for the event and context objects
event = {
    'queryStringParameters': {
        'uuid': 'test-uuid-12345'
    }
}

context = Mock()
context.function_name = 'me'
context.function_version = '$LATEST'
context.invoked_function_arn = 'arn:aws:lambda:us-east-1:123456789012:function:me'
context.memory_limit_in_mb = 128
context.aws_request_id = 'request-id-12345'
context.log_group_name = '/aws/lambda/me'
context.log_stream_name = '2024/01/01/[$LATEST]abcdef123456'
context.get_remaining_time_in_millis = Mock(return_value=30000)

ARGS = {
    'event': event,
    'context': context
}
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
merge Ran
ran; our contract draft was wrong, not the code
alililia/ascend_U-GAT-IT/src/modelarts_utils/config.py
code served (permissive licence) · get_code("b9e24c3e3e0e88a7")
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) 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
import argparse

torch.manual_seed(0)

# Create a mock args object with some attributes
args = argparse.Namespace(
    learning_rate=0.001,
    batch_size=32,
    epochs=10,
    model_name="test_model",
    debug=True,
    seed=42
)

# Create a base configuration dictionary
cfg = {
    "default_lr": 0.0001,
    "default_batch": 16,
    "dataset": "cifar10"
}

ARGS = {
    "args": args,
    "cfg": cfg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
parse_cli_to_yaml Ran
ran; our contract draft was wrong, not the code
alililia/ascend_U-GAT-IT/src/modelarts_utils/config.py
code served (permissive licence) · get_code("738456e1b7388e7e")
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 Namespace. 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 argparse
import ast

# Create minimal parent parser
parent_parser = argparse.ArgumentParser(add_help=False)

# Create base configuration dict with various types
cfg = {
    'learning_rate': 0.001,
    'batch_size': 32,
    'epochs': 10,
    'use_cuda': False,
    'model_name': 'resnet50',
    'dropout': 0.5,
    'debug': True,
    'nested_list': [1, 2, 3],  # This will be skipped since it's a list
    'nested_dict': {'a': 1},   # This will be skipped since it's a dict
}

# Create helper descriptions
helper = {
    'learning_rate': 'Learning rate for optimizer',
    'batch_size': 'Batch size for training',
    'epochs': 'Number of training epochs',
    'use_cuda': 'Whether to use CUDA',
    'model_name': 'Name of the model architecture',
    'dropout': 'Dropout rate',
    'debug': 'Enable debug mode',
}

# Create choices for specific parameters
choices = {
    'model_name': ['resnet50', 'vgg16', 'mobilenet'],
}

# Set config path
cfg_path = 'default_config.yaml'

ARGS = {
    'parser': parent_parser,
    'cfg': cfg,
    'helper': helper,
    'choices': choices,
    'cfg_path': cfg_path,
}
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 Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
parse_yaml Ran
ran on a synthesized input
alililia/ascend_U-GAT-IT/src/modelarts_utils/config.py
code served (permissive licence) · get_code("96a9939953d5992d")
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 tempfile
import os
import yaml

# Create a temporary YAML file with valid config structure
temp_dir = tempfile.mkdtemp()
yaml_path = os.path.join(temp_dir, "config.yaml")

# Write a valid YAML file with 3 documents: config, helper, and choices
yaml_content = """
model: resnet50
learning_rate: 0.001
batch_size: 32
---
model: "Model architecture to use"
learning_rate: "Learning rate for optimization"
batch_size: "Batch size for training"
---
model: [resnet50, resnet101, vgg16]
learning_rate: [0.0001, 0.001, 0.01]
batch_size: [16, 32, 64]
"""

with open(yaml_path, 'w') as f:
    f.write(yaml_content)

ARGS = {
    "yaml_path": yaml_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — 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
preprocessing Ran
ran on a synthesized input
znxlwm/UGATIT-pytorch/utils.py
code served (permissive licence) · get_code("eab7ba887c245523")
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. 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 preprocessing takes x and performs a simple normalization
# x / 127.5 - 1
# x should be a tensor or array that supports division and subtraction

# Create a small tensor with values in a typical image range (0-255)
x = torch.tensor([[100.0, 127.5, 200.0, 255.0],
                   [0.0, 50.0, 150.0, 200.0]], dtype=torch.float32)

ARGS = {
    'x': x
}
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 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
random_rotation90 Ran
ran on a synthesized input
sangyun884/WebtoonFaces/ADA.py
code served (permissive licence) · get_code("5377fb88325fa9b5")
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 Image. 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 PIL import Image
import random

# Create a small PIL Image for testing
# The function expects a PIL Image object
img_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
pil_img = Image.fromarray(img_array)

# Define probability parameter
p_value = 0.5

ARGS = {
    "img": pil_img,
    "p": p_value
}
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 Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
save_images Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
WuZhewei/my_First_GAN_tryout/utils.py
code served (permissive licence) · get_code("dfa35c437d3cf0d5")
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

# Analyze the function chain: save_images -> imsave -> merge
# - save_images takes: images, size, image_path
# - images goes through inverse_transform (expects numpy array with shape considerations)
# - Then to imsave which calls merge
# - merge expects images.shape = (batch, height, width, 3) for RGB
# - size is a tuple for grid layout (rows, cols)
# - image_path is a string filepath

# Create sample images: batch of 2, height 4, width 3, 3 channels (RGB)
# Values in range [-1, 1] since inverse_transform expects this range
images = np.random.uniform(-1, 1, size=(2, 4, 3, 3)).astype(np.float32)

# Size tuple: (rows, cols) for merging grid - with 2 images, use (1, 2)
size = (1, 2)

# Image path - just a string (won't actually write due to sandbox constraints)
image_path = "/tmp/test_image.jpg"

ARGS = {
    "images": images,
    "size": size,
    "image_path": image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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
update_email_subject Ran
ran on a synthesized input
t04glovern/selfie2anime/components/data-delete-requests/utils.py
code served (permissive licence) · get_code("1b24534ac198587f")
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 EmailMessage. 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 email
from email.message import EmailMessage

# Create a valid email.message.Message object
downloaded_email = EmailMessage()
downloaded_email['Subject'] = 'Original Subject'
downloaded_email['From'] = 'sender@example.com'
downloaded_email['To'] = 'recipient@example.com'
downloaded_email.set_content('This is the email body.')

email_subject = 'Original Subject'

ARGS = {
    'downloaded_email': downloaded_email,
    'email_subject': email_subject,
}
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 EmailMessage — a EmailMessage output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EmailMessage output the recorded ndim 1 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
x_flip Ran
ran on a synthesized input
sangyun884/WebtoonFaces/ADA.py
code served (permissive licence) · get_code("56f419ded8d6d63a")
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 Image. 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 torchvision.transforms as transforms
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a small PIL Image to pass to x_flip
# The function expects a PIL Image as input (transforms work on PIL Images)
img_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
img = Image.fromarray(img_array.transpose(1, 2, 0))

ARGS = {
    "img": img,
    "p": 0.5
}
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 Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
augmentation Not yet run
unverified (harvested, no recorded run)
WuZhewei/my_First_GAN_tryout/utils.py
code served (permissive licence) · get_code("76abd03df3e34279")
How it ran

no invocation recorded.

calculate_frechet_distance Not yet run
unverified (harvested, no recorded run)
sangyun884/WebtoonFaces/gan_metrics_pytorch/fid_score.py
code served (permissive licence) · get_code("0def50a351111624")
How it ran

no invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back.

decode_image Not yet run
unverified (harvested, no recorded run)
alililia/ascend_U-GAT-IT/postprocess.py
code served (permissive licence) · get_code("2811e9848f00c8a2")
How it ran

no invocation recorded.

get_activations Not yet run
unverified (harvested, no recorded run)
sangyun884/WebtoonFaces/gan_metrics_pytorch/fid_score.py
pointer only (licence: MIT); the stored copy get_code serves, from ssongwang/mix-domaincontrastivelearning, is pointer only (licence: NONE) · get_code("7b41327814ab3634")
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 ssongwang/mix-domaincontrastivelearning, 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.

get_activations Not yet run
unverified (harvested, no recorded run)
sangyun884/WebtoonFaces/gan_metrics_pytorch/kid_score.py
code served (permissive licence) · get_code("0bdaf2a87d584365")
How it ran

no invocation recorded.

get_images Not yet run
unverified (harvested, no recorded run)
alililia/ascend_U-GAT-IT/src/metrics/metrics.py
code served (permissive licence) · get_code("cbe8f1a4723b5a27")
How it ran

no invocation recorded.

get_octave Not yet run
unverified (harvested, no recorded run)
jayChung0302/DeepFilter/deep-dream.py
code served (permissive licence) · get_code("a9ab0e1cf475ecc3")
How it ran

no invocation recorded.

load_test_data Not yet run
unverified (harvested, no recorded run)
znxlwm/UGATIT-pytorch/utils.py
code served (permissive licence) · get_code("8d4ee7233484c7ee")
How it ran

no invocation recorded.

mosaic Not yet run
unverified (harvested, no recorded run)
jayChung0302/DeepFilter/utils.py
code served (permissive licence) · get_code("3c6369f9ae61cac7")
How it ran

no invocation recorded.

mosaic_area Not yet run
unverified (harvested, no recorded run)
jayChung0302/DeepFilter/utils.py
code served (permissive licence) · get_code("526ac17b5dc23c6c")
How it ran

no invocation recorded.

save_images Not yet run
unverified (harvested, no recorded run)
znxlwm/UGATIT-pytorch/utils.py
code served (permissive licence) · get_code("5b8b7a85da8c0a00")
How it ran

no invocation recorded.

save_images Not yet run
unverified (harvested, no recorded run)
minivision-ai/photo2cartoon/utils/utils.py
code served (permissive licence) · get_code("d5ad87b0555590d1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 36 samples lifted from this paper's linked repositories, 36 carry a function identity and 0 do not. Of the 34 distinct functions with an identity, 23 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 3 the same month, 23 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
calculate_frechet_distance 74 other papers
8 dated earlier, 66 later
1610.09585 (2016-10)
Conditional Image Synthesis With Auxiliary Classifier GANs
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
1807.11458 (2018-07)
To learn image super-resolution, use a GAN to learn how to do image degradation first
and 71 more not named here
find_classes 30 other papers
4 dated earlier, 26 later
1406.2661 (2014-06)
Generative Adversarial Networks
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
1809.04729 (2018-09)
A Less Biased Evaluation of Out-of-distribution Sample Detectors
and 27 more not named here
l2_norm 29 other papers
3 dated earlier, 26 later · 2 only as an assembly brick
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
and 26 more not named here
merge 28 other papers
13 dated earlier, 1 the same month, 14 later
1406.1078 (2014-06)
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
1409.3215 (2014-09)
Sequence to Sequence Learning with Neural Networks
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision
and 25 more not named here
get_block 27 other papers
2 dated earlier, 25 later
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1912.13457 (2019-12)
FaceShifter: Towards High Fidelity And Occlusion Aware Face Swapping
and 24 more not named here
parse_cli_to_yaml 20 other papers
11 dated earlier, 1 the same month, 8 later
1406.1078 (2014-06)
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
1409.3215 (2014-09)
Sequence to Sequence Learning with Neural Networks
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision
and 17 more not named here
has_file_allowed_extension 17 other papers
3 dated earlier, 14 later
1612.06321 (2016-12)
Large-Scale Image Retrieval with Attentive Deep Local Features
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
and 14 more not named here
get_blocks 16 other papers
2 dated earlier, 14 later
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1912.13457 (2019-12)
FaceShifter: Towards High Fidelity And Occlusion Aware Face Swapping
and 13 more not named here
parse_yaml 15 other papers
9 dated earlier, 1 the same month, 5 later
1406.1078 (2014-06)
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
1409.3215 (2014-09)
Sequence to Sequence Learning with Neural Networks
1512.00567 (2015-12)
Rethinking the Inception Architecture for Computer Vision
and 12 more not named here
preprocessing 8 other papers
6 dated earlier, 2 later
1703.00848 (2017-03)
Unsupervised Image-to-Image Translation Networks
1804.04732 (2018-04)
Multimodal Unsupervised Image-to-Image Translation
1812.09912 (2018-12)
Image-to-Image Translation via Group-wise Deep Whitening-and-Coloring Transformation
and 5 more not named here
save_images 7 other papers
3 dated earlier, 4 later
1703.03208 (2017-03)
Compressed Sensing using Generative Models
1802.08406 (2018-02)
Solving Linear Inverse Problems Using GAN Priors: An Algorithm with Provable Guarantees
1811.03205 (2018-11)
Robustness of Conditional GANs to Noisy Labels
and 4 more not named here
get_activations 4 other papers
4 later
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
2210.16559 (2022-10)
Few-shot Image Generation via Adaptation-Aware Kernel Modulation
2304.07574 (2023-04)
Exploring Incompatible Knowledge Transfer in Few-shot Image Generation
and 1 more not named here
load_test_data 4 other papers
2 dated earlier, 2 later
1703.00848 (2017-03)
Unsupervised Image-to-Image Translation Networks
1905.01270 (2019-05)
DRIT++: Diverse Image-to-Image Translation via Disentangled Representations
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
and 1 more not named here
calculate_activation_statistics 3 other papers
3 later
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
2210.16559 (2022-10)
Few-shot Image Generation via Adaptation-Aware Kernel Modulation
2304.07574 (2023-04)
Exploring Incompatible Knowledge Transfer in Few-shot Image Generation
augmentation 2 other papers
1 dated earlier, 1 later
1703.00848 (2017-03)
Unsupervised Image-to-Image Translation Networks
2004.02088 (2020-04)
Feature Quantization Improves GAN Training
extract_lenet_features 1 other paper
1 later
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
get_activations 1 other paper
1 later
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
integer_translation 1 other paper
1 later
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
load_test_data 1 other paper
1 later
2004.02088 (2020-04)
Feature Quantization Improves GAN Training
make_dataset 1 other paper
1 later
2305.15086 (2023-05)
Unpaired Image-to-Image Translation via Neural Schrödinger Bridge

Shown: the 20 functions present in the most other papers. 3 more shared functions are not listed 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 propose a novel method for unsupervised image-to-image translation, which incorporates a new attention module and a new learnable normalization function in an end-to-end manner. The attention module guides our model to focus on more important regions distinguishing between source and target domains based on the attention map obtained by the auxiliary classifier. Unlike previous attention-based method which cannot handle the geometric changes between domains, our model can translate both images requiring holistic changes and images requiring large shape changes. Moreover, our new AdaLIN (Adaptive Layer-Instance Normalization) function helps our attention-guided model to flexibly control the amount of change in shape and texture by learned parameters depending on datasets. Experimental results show the superiority of the proposed method compared to the existing state-of-the-art models with a fixed network architecture and hyper-parameters. Our code and datasets are available at https://github.com/taki0112/UGATIT or https://github.com/znxlwm/UGATIT-pytorch.

For agents

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

get_harvested_code_for_paper("1907.10830")
get_code_for_paper("1907.10830")
have("1907.10830")

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

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

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

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

Connect an agent — have() is free.