SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.01270 · 2019

DRIT++: Diverse Image-to-Image Translation via Disentangled Representations

arXiv · PDF · Open in the Atlas

Code that ran

1 of 6 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 1 has no contract verdict; 0 failures of our instrument; 5 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/1905.01270.json · badge: /api/ran/1905.01270.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
taki0112/DRIT-Tensorflow community (classifier label)
classifier basis not recorded on the link
1 ran · 5 no recorded run
FunctionStatusWhere it lives
preprocessing Ran
ran on a synthesized input
taki0112/DRIT-Tensorflow/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
augmentation Not yet run
unverified (harvested, no recorded run)
taki0112/DRIT-Tensorflow/utils.py
code served (permissive licence) · get_code("f3a8860c6a9939e1")
How it ran

no invocation recorded.

conv Not yet run
unverified (harvested, no recorded run)
taki0112/DRIT-Tensorflow/ops.py
code served (permissive licence) · get_code("020b279fa55535d3")
How it ran

no invocation recorded.

deconv Not yet run
unverified (harvested, no recorded run)
taki0112/DRIT-Tensorflow/ops.py
code served (permissive licence) · get_code("6968524cd9833f53")
How it ran

no invocation recorded.

fully_conneted Not yet run
unverified (harvested, no recorded run)
taki0112/DRIT-Tensorflow/ops.py
code served (permissive licence) · get_code("d99f75f1571cbc52")
How it ran

no invocation recorded.

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

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 later) and 4 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
preprocessing 8 other papers
4 dated earlier, 1 the same month, 3 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
load_test_data 4 other papers
1 dated earlier, 3 later
1703.00848 (2017-03)
Unsupervised Image-to-Image Translation Networks
1907.10830 (2019-07)
U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation
2006.06676 (2020-06)
Training Generative Adversarial Networks with Limited Data
and 1 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

Image-to-image translation aims to learn the mapping between two visual domains. There are two main challenges for this task: 1) lack of aligned training pairs and 2) multiple possible outputs from a single input image. In this work, we present an approach based on disentangled representation for generating diverse outputs without paired training images. To synthesize diverse outputs, we propose to embed images onto two spaces: a domain-invariant content space capturing shared information across domains and a domain-specific attribute space. Our model takes the encoded content features extracted from a given input and attribute vectors sampled from the attribute space to synthesize diverse outputs at test time. To handle unpaired training data, we introduce a cross-cycle consistency loss based on disentangled representations. Qualitative results show that our model can generate diverse and realistic images on a wide range of tasks without paired training data. For quantitative evaluations, we measure realism with user study and Fréchet inception distance, and measure diversity with the perceptual distance metric, Jensen-Shannon divergence, and number of statistically-different bins.

For agents

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

get_harvested_code_for_paper("1905.01270")
get_code_for_paper("1905.01270")
have("1905.01270")

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

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

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

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

Connect an agent — have() is free.