SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.03190 · 2023

Text-Guided Synthesis of Eulerian Cinemagraphs

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 7 failures 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/2307.03190.json · badge: /api/ran/2307.03190.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
text2cinemagraph/text2cinemagraph canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
default Ran
ran, violated the contract we drafted
text2cinemagraph/text2cinemagraph/models/attention.py
code served (permissive licence) · get_code("424012cb37b31172")
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 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.

from inspect import isfunction

def exists(val):
    return val is not None

def default(val, d):
    if exists(val):
        return val
    return d() if isfunction(d) else d

# Test case 1: val exists (not None), d is a regular value
ARGS_1 = {
    'val': 42,
    'd': 100
}

# Test case 2: val is None, d is a regular value
ARGS_2 = {
    'val': None,
    'd': 100
}

# Test case 3: val is None, d is a function
def default_func():
    return 200

ARGS_3 = {
    'val': None,
    'd': default_func
}

# Test case 4: val exists, d is a function
ARGS_4 = {
    'val': "existing_value",
    'd': lambda: "default_value"
}

# Use one of the test cases as the final ARGS
ARGS = ARGS_3
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 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
exists Ran
ran, violated the contract we drafted
text2cinemagraph/text2cinemagraph/models/attention.py
pointer only (licence: MIT); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
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 ThomasMrY/VCT, 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.

find_dir_from_caption Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/inference_t2c.py
code served (permissive licence) · get_code("fca998c0c502f6dc")
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 re

def find_dir_from_caption(caption):
    substrings = re.findall('(?=(in .*?direction))', caption)
    list_dirs = ['left to right', 'left to right, upwards', 'upwards, left to right', 'upwards', 'upwards, right to left', 'right to left, upwards', 'right to left', 'right to left, downwards', 'downwards, right to left', 'downwards', 'downwards, left to right', 'left to right, downwards']
    if substrings:
        for s in substrings:
            s_ = s.replace('in ', '').replace(' direction', '')
            if s_ in list_dirs:
                print(s)
                return s
    else:
        print('Substring not found.')

ARGS = {
    'caption': 'The arrow points in upwards direction across the image.'
}
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
fused_bn Ran
ran, honoured the contract we drafted
text2cinemagraph/text2cinemagraph/models/normalization.py
pointer only (licence: MIT); the stored copy get_code serves, from mshahbazi72/cGANTransfer, is pointer only (licence: NONE) · get_code("d7c46b2392abf5fd")
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 mshahbazi72/cGANTransfer, 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.

get_D_norm_layer Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/models/normalization.py
code served (permissive licence) · get_code("ef64c9bacc1b00b0")
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 function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleOpt:
    pass

opt = SimpleOpt()

ARGS = {
    'opt': opt,
    'norm_type': 'spectral_instance'
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
get_linear_layer Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/models/normalization.py
pointer only (licence: MIT); the stored copy get_code serves, from facebookresearch/synsin, is pointer only (licence: NOASSERTION) · get_code("066d51ac5067e804")
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 facebookresearch/synsin, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

get_norm_layer Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/models/networks.py
code served (permissive licence) · get_code("29bb0088c8c38ae4")
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 partial. 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 functools

torch.manual_seed(0)

ARGS = {
    'norm_type': 'instance'
}
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 partial — a partial output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a partial 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
get_resnet_arch Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/models/configs.py
code served (permissive licence) · get_code("2346c2f6fbbc68bf")
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

# Create a minimal options object with required attributes
class OptConfig:
    def __init__(self):
        self.ngf = 64  # number of generator filters
        self.out_channel = 64
        self.addtional_decoder_input = 0
        self.addtional_decoder_output = 0

# Define ARGS dictionary
ARGS = {
    'model_type': 'resnet_256W8UpDown64',
    'opt': OptConfig(),
    'in_channels': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
lcm Ran
ran, honoured the contract we drafted
text2cinemagraph/text2cinemagraph/train_motion.py
code served (permissive licence) · get_code("81e8721e2bf7575c")
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 float, 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.

from math import gcd

def lcm(a, b):
    return abs(a * b) / gcd(a, b) if a and b else 0

# The function lcm takes two parameters: a and b
# It uses gcd(a, b) to compute the least common multiple
# Both parameters should be integers (or at least numeric values where gcd makes sense)

ARGS = {
    "a": 12,
    "b": 18
}
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 float, 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
modify_sd2pix2pixHD_keys Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/models/networks.py
code served (permissive licence) · get_code("eb055361deea8a74")
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 numpy as np

# Construct a minimal state dict that matches the function's expectations
# The function expects keys that contain patterns like 'model.diffusion_model.input_blocks.4.1'
# and filters based on 'norm1' and 'attn1' patterns

torch.manual_seed(0)

# Create a state dict with some realistic keys that will be processed
sd = {
    # Keys that match the patterns and should be kept
    'model.diffusion_model.input_blocks.4.1.attn.to_q.weight': torch.randn(4, 4),
    'model.diffusion_model.input_blocks.4.1.attn.to_k.weight': torch.randn(4, 4),
    'model.diffusion_model.input_blocks.5.1.attn.to_v.weight': torch.randn(4, 4),
    'model.diffusion_model.input_blocks.7.1.conv.weight': torch.randn(4, 4),
    'model.diffusion_model.input_blocks.8.1.attn.proj_out.weight': torch.randn(4, 4),
    'model.diffusion_model.middle_block.1.attn.to_q.weight': torch.randn(4, 4),
    'model.diffusion_model.output_blocks.4.1.attn.to_k.weight': torch.randn(4, 4),
    'model.diffusion_model.output_blocks.5.1.attn.to_v.weight': torch.randn(4, 4),
    'model.diffusion_model.output_blocks.6.1.conv.weight': torch.randn(4, 4),
    'model.diffusion_model.output_blocks.7.1.attn.proj_out.weight': torch.randn(4, 4),
    # Keys that should be ignored (contain 'norm1' or 'attn1')
    'model.diffusion_model.input_blocks.4.0.norm1.weight': torch.randn(4, 4),
    'model.diffusion_model.input_blocks.5.0.attn1.weight': torch.randn(4, 4),
    # Keys that don't match any pattern and should be deleted
    'model.other_block.0.weight': torch.randn(4, 4),
    'model.other_block.0.bias': torch.randn(4),
}

ARGS = {
    'sd': sd
}
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 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
uniq Ran
ran; our contract draft was wrong, not the code
text2cinemagraph/text2cinemagraph/models/attention.py
pointer only (licence: MIT); the stored copy get_code serves, from JingWu321/MUNBa, is pointer only (licence: NONE) · get_code("9a299fe5ae09e407")
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 JingWu321/MUNBa, 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.

create_model Not yet run
unverified (harvested, no recorded run)
text2cinemagraph/text2cinemagraph/models/models.py
code served (permissive licence) · get_code("34fd565f2856a69f")
How it ran

no invocation recorded.

cupy_kernel Not yet run
unverified (harvested, no recorded run)
text2cinemagraph/text2cinemagraph/models/softsplat.py
pointer only (licence: MIT); the stored copy get_code serves, from sichun233746/MoTIF, is pointer only (licence: NONE) · get_code("4ceac51c7b8e4270")
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 sichun233746/MoTIF, 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.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 4 the same month, 5 later) and 5 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
exists 486 other papers
197 dated earlier, 8 the same month, 275 later, 4 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 207 other papers
65 dated earlier, 5 the same month, 135 later, 2 same year, order not determinable · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.08162 (2020-10)
SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning
and 204 more not named here
uniq 115 other papers
26 dated earlier, 3 the same month, 84 later, 2 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
and 112 more not named here
get_norm_layer 8 other papers
6 dated earlier, 2 later
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
1805.04487 (2018-05)
Non-Stationary Texture Synthesis by Adversarial Expansion
1808.07535 (2018-08)
Learning Hierarchical Semantic Image Manipulation through Structured Representations
and 5 more not named here
fused_bn 5 other papers
5 dated earlier · 4 only as an assembly brick
2102.06696 (2021-02)
Efficient Conditional GAN Transfer with Knowledge Propagation across Classes
2103.17022 (2021-03)
Layout-Guided Novel View Synthesis from a Single Indoor Panorama
2104.00816 (2021-04)
Partition-Guided GANs
and 2 more not named here
cupy_kernel 4 other papers
3 dated earlier, 1 the same month
136750141 (2022 (year only))
Deep Bayesian Video Frame Interpolation
2206.12614 (2022-06)
BokehMe: When Neural Rendering Meets Classical Rendering
and 1 more not named here
create_model 2 other papers
1 dated earlier, 1 later
2207.02774 (2022-07)
Local Relighting of Real Scenes
2403.14186 (2024-03)
StyleCineGAN: Landscape Cinemagraph Generation using a Pre-trained StyleGAN
get_linear_layer 1 other paper
1 dated earlier
2103.17022 (2021-03)
Layout-Guided Novel View Synthesis from a Single Indoor Panorama

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 introduce Text2Cinemagraph, a fully automated method for creating cinemagraphs from text descriptions - an especially challenging task when prompts feature imaginary elements and artistic styles, given the complexity of interpreting the semantics and motions of these images. We focus on cinemagraphs of fluid elements, such as flowing rivers, and drifting clouds, which exhibit continuous motion and repetitive textures. Existing single-image animation methods fall short on artistic inputs, and recent text-based video methods frequently introduce temporal inconsistencies, struggling to keep certain regions static. To address these challenges, we propose an idea of synthesizing image twins from a single text prompt - a pair of an artistic image and its pixel-aligned corresponding natural-looking twin. While the artistic image depicts the style and appearance detailed in our text prompt, the realistic counterpart greatly simplifies layout and motion analysis. Leveraging existing natural image and video datasets, we can accurately segment the realistic image and predict plausible motion given the semantic information. The predicted motion can then be transferred to the artistic image to create the final cinemagraph. Our method outperforms existing approaches in creating cinemagraphs for natural landscapes as well as artistic and other-worldly scenes, as validated by automated metrics and user studies. Finally, we demonstrate two extensions: animating existing paintings and controlling motion directions using text.

For agents

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

get_harvested_code_for_paper("2307.03190")
get_code_for_paper("2307.03190")
have("2307.03190")

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

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

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

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

Connect an agent — have() is free.