SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.00330 · 2023

StyleCrafter: Enhancing Stylized Text-to-Video Generation with Style Adapter

arXiv · PDF · Open in the Atlas

Code that ran

17 of 23 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; 3 honoured the contract we drafted, 4 violated it and 2 have no contract verdict; 8 failures of our instrument; 6 no recorded run), measured 2026-11-22; 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/2312.00330.json · badge: /api/ran/2312.00330.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
GongyeLiu/StyleCrafter canonical (classifier label)
classifier basis: census
14 ran · 6 no recorded run
GongyeLiu/StyleCrafter-SDXL community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
FunctionStatusWhere it lives
always Ran
ran; our contract draft was wrong, not the code
GongyeLiu/StyleCrafter/lvdm/modules/x_transformer.py
code served (permissive licence) · get_code("fe5dd5258046898c")
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 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.

ARGS = {
    'val': 42
}
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 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
autocast Ran
ran; our contract draft was wrong, not the code
GongyeLiu/StyleCrafter/lvdm/common.py
code served (permissive licence) · get_code("32af1c12fd826ef2")
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. 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 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)

# The autocast function takes a single parameter: a function f
# It returns a wrapped version of that function with autocast enabled

# Create a simple function to wrap
def sample_forward(x):
    """A simple function that does some computation"""
    return x * 2 + 1

ARGS = {
    "f": sample_forward
}
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
check_istarget Ran
ran, violated the contract we drafted
GongyeLiu/StyleCrafter/utils/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ailab-cvc/videocrafter, is pointer only (licence: NOASSERTION) · get_code("19f538291be81c23")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ailab-cvc/videocrafter, 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.

count_params Ran
ran, honoured the contract we drafted
GongyeLiu/StyleCrafter/utils/utils.py
code served (permissive licence) · get_code("613acd72145a95f2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal nn.Module that has parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    'model': model,
    'verbose': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
default Ran
ran, violated the contract we drafted
GongyeLiu/StyleCrafter/lvdm/modules/x_transformer.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
dict_collation_fn Ran
ran; our contract draft was wrong, not the code
GongyeLiu/StyleCrafter-SDXL/dataset.py
code served (permissive licence) · get_code("ec4f9e3382344a78")
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 numpy as np
import torch

torch.manual_seed(0)

# Create sample dictionaries with various data types
samples = [
    {
        'tensor_data': torch.randn(2, 4),
        'scalar_int': 5,
        'scalar_float': 3.14,
        'array_data': np.random.randn(3, 4),
        'list_data': [1, 2, 3]
    },
    {
        'tensor_data': torch.randn(2, 4),
        'scalar_int': 10,
        'scalar_float': 2.71,
        'array_data': np.random.randn(3, 4),
        'list_data': [4, 5, 6]
    }
]

ARGS = {
    'samples': samples,
    'combine_tensors': True,
    'combine_scalars': True
}
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
disabled_train Ran
ran, violated the contract we drafted
GongyeLiu/StyleCrafter/lvdm/basics.py
code served (permissive licence) · get_code("4cb732f513d69dfd")
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 SimpleModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

ARGS = {
    "self": model,
    "mode": True
}
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 SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
exists Ran
ran, violated the contract we drafted
GongyeLiu/StyleCrafter/lvdm/modules/x_transformer.py
pointer only (licence: Apache-2.0); 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 (Apache-2.0), 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.

extract_into_tensor Ran
ran; our contract draft was wrong, not the code
GongyeLiu/StyleCrafter/lvdm/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Luo-Yihong/YOSO, is pointer only (licence: NONE) · get_code("a15cfd7932844ef9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Luo-Yihong/YOSO, 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.

filter_keys Ran
ran on a synthesized input
GongyeLiu/StyleCrafter-SDXL/dataset.py
code served (permissive licence) · get_code("9c90cff103625fc3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

def setup_filter_keys_args():
    # The function filter_keys takes a single parameter x
    # It checks if 'jpg' and 'txt' are both in x
    # This suggests x should be a string or something that supports the 'in' operator
    
    # Test with a string containing both 'jpg' and 'txt'
    x = "image.jpg and document.txt"
    
    return {"x": x}

ARGS = setup_filter_keys_args()
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_attn_processor Ran
ran; our contract draft was wrong, not the code
GongyeLiu/StyleCrafter/lvdm/modules/attention.py
code served (permissive licence) · get_code("35ccc16a67486ce2")
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

torch.manual_seed(0)

# Create a minimal UNet-like structure with attention processors
class AttentionProcessor(nn.Module):
    def __init__(self):
        super().__init__()
        self.processor = nn.Identity()

class AttentionLayer(nn.Module):
    def __init__(self):
        super().__init__()
        self.processor = nn.Linear(4, 4)

class CrossAttention(nn.Module):
    def __init__(self):
        super().__init__()
        self.processor = nn.Linear(4, 4)

class BasicBlock(nn.Module):
    def __init__(self):
        super().__init__()
        self.attn = AttentionLayer()
        self.cross_attn = CrossAttention()

class UNetBlock(nn.Module):
    def __init__(self):
        super().__init__()
        self.block1 = BasicBlock()
        self.block2 = BasicBlock()

class SimpleUNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.down = UNetBlock()
        self.mid = BasicBlock()
        self.up = UNetBlock()

unet = SimpleUNet()

ARGS = {
    'unet': unet
}
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
make_beta_schedule Ran
ran, honoured the contract we drafted
GongyeLiu/StyleCrafter/lvdm/models/utils_diffusion.py
code served (permissive licence) · get_code("c984209a2c66afbe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (10,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    'schedule': 'linear',
    'n_timestep': 10,
    'linear_start': 0.0001,
    'linear_end': 0.02,
    'cosine_s': 0.008
}
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 1, dtype family float, shape (10,) — shape (10,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_ddim_timesteps Ran
ran, honoured the contract we drafted
GongyeLiu/StyleCrafter/lvdm/models/utils_diffusion.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from haoheliu/AudioLDM, is pointer only (licence: NOASSERTION) · get_code("0ea4e960ea54514c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from haoheliu/AudioLDM, 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.

normal_kl Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GongyeLiu/StyleCrafter/lvdm/distributions.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NeuralCarver/Michelangelo, is pointer only (licence: GPL-3.0) · get_code("17eb0a31c91b671c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NeuralCarver/Michelangelo, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

preprocess Ran
ran on a synthesized input
GongyeLiu/StyleCrafter-SDXL/dataset.py
code served (permissive licence) · get_code("c0afdd595ef079f0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a small PIL Image object with size (512, 512)
img_array = np.random.randint(0, 256, (512, 512, 3), dtype=np.uint8)
pil_image = Image.fromarray(img_array)

# Create the data dict with required 'jpg' key and optional 'txt_blip' key
data = {
    'jpg': pil_image,
    'txt_blip': b'a painting of a cat in a watercolor style'
}

# Target size for preprocessing
target_size = 256

ARGS = {
    'data': data,
    'target_size': target_size
}
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 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
timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GongyeLiu/StyleCrafter/lvdm/models/utils_diffusion.py
code served (permissive licence) · get_code("2203f9d1be3dc36c")
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 math

torch.manual_seed(0)

# Create timesteps tensor: 1-D tensor of N indices
timesteps = torch.tensor([0.0, 5.0])

# Dimension of output
dim = 4

# Max period parameter
max_period = 10000

# repeat_only flag
repeat_only = False

ARGS = {
    "timesteps": timesteps,
    "dim": dim,
    "max_period": max_period,
    "repeat_only": repeat_only,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, 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
zero_module Ran
ran; our contract draft was wrong, not the code
GongyeLiu/StyleCrafter/lvdm/basics.py
code served (permissive licence) · get_code("129b804760b3115f")
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 SimpleModule. 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)

# Create a simple module with some parameters
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.conv = nn.Conv1d(2, 2, 3)
    
    def forward(self, x):
        return x

module = SimpleModule()

# Verify the module has non-zero parameters before zeroing
for p in module.parameters():
    assert p.abs().sum() > 0, "Parameters should be non-zero initially"

ARGS = {
    "module": module
}
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 SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule 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
frames_to_mp4 Not yet run
unverified (harvested, no recorded run)
GongyeLiu/StyleCrafter/utils/save_video.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from shijianjian/stereocrafter-zero, is pointer only (licence: NONE) · get_code("253f22a05180080e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from shijianjian/stereocrafter-zero, 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.

gather_data Not yet run
unverified (harvested, no recorded run)
GongyeLiu/StyleCrafter/lvdm/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from shijianjian/stereocrafter-zero, is pointer only (licence: NONE) · get_code("b72d8eb89fd75383")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from shijianjian/stereocrafter-zero, 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.

instantiate_from_config Not yet run
unverified (harvested, no recorded run)
GongyeLiu/StyleCrafter/utils/utils.py
code served (permissive licence) · get_code("ef52d142b2c30ac2")
How it ran

no invocation recorded.

log_local Not yet run
unverified (harvested, no recorded run)
GongyeLiu/StyleCrafter/utils/save_video.py
code served (permissive licence) · get_code("fc1ecc9c639f6a4c")
How it ran

no invocation recorded.

log_txt_as_img Not yet run
unverified (harvested, no recorded run)
GongyeLiu/StyleCrafter/utils/save_video.py
code served (permissive licence) · get_code("57f7402ad7088484")
How it ran

no invocation recorded.

scale_module Not yet run
unverified (harvested, no recorded run)
GongyeLiu/StyleCrafter/lvdm/basics.py
code served (permissive licence) · get_code("9136b5f9b735334b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 19 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 14 the same month, 19 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
exists 486 other papers
262 dated earlier, 16 the same month, 202 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
100 dated earlier, 14 the same month, 91 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
zero_module 196 other papers
81 dated earlier, 9 the same month, 105 later, 1 same year, order not determinable · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
disabled_train 173 other papers
64 dated earlier, 10 the same month, 99 later · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
always 56 other papers
31 dated earlier, 3 the same month, 21 later, 1 same year, order not determinable
2102.12092 (2021-02)
Zero-Shot Text-to-Image Generation
2107.03312 (2021-07)
SoundStream: An End-to-End Neural Audio Codec
2206.00100 (2022-06)
VALHALLA: Visual Hallucination for Machine Translation
and 53 more not named here
log_txt_as_img 55 other papers
23 dated earlier, 2 the same month, 28 later, 2 same year, order not determinable
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
2210.12965 (2022-10)
High-Resolution Image Editing via Multi-Stage Blended Diffusion
and 52 more not named here
normal_kl 34 other papers
11 dated earlier, 3 the same month, 19 later, 1 same year, order not determinable
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2209.15421 (2022-09)
TabDDPM: Modelling Tabular Data with Diffusion Models
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
and 31 more not named here
extract_into_tensor 32 other papers
8 dated earlier, 3 the same month, 21 later · 7 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2112.02815 (2021-12)
Make It Move: Controllable Image-to-Video Generation with Text Descriptions
and 29 more not named here
make_beta_schedule 29 other papers
7 dated earlier, 1 the same month, 20 later, 1 same year, order not determinable · 7 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
2211.10658 (2022-11)
EDGE: Editable Dance Generation From Music
and 26 more not named here
timestep_embedding 25 other papers
11 dated earlier, 14 later · 8 only as an assembly brick
2202.06875 (2022-02)
Visual Acoustic Matching
2301.05225 (2023-01)
Domain Expansion of Image Generators
2302.07685 (2023-02)
Video Probabilistic Diffusion Models in Projected Latent Space
and 22 more not named here
instantiate_from_config 24 other papers
7 dated earlier, 1 the same month, 16 later · 7 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
and 21 more not named here
make_ddim_timesteps 15 other papers
4 dated earlier, 1 the same month, 9 later, 1 same year, order not determinable · 4 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2202.09778 (2022-02)
Pseudo Numerical Methods for Diffusion Models on Manifolds
Xu_Versatile_Diffusion_Text_Images_and_Variations_All_in_One_Diffusion_ICCV_2023_paper (2023 (year only))
Versatile Diffusion: Text, Images and Variations All in One Diffusion Model
and 12 more not named here
autocast 14 other papers
3 dated earlier, 1 the same month, 10 later
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2310.04687 (2023-10)
Targeted Attack Improves Protection against Unauthorized Diffusion Customization
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
and 11 more not named here
scale_module 14 other papers
3 dated earlier, 1 the same month, 10 later
2303.08863 (2023-03)
Class-Guided Image-to-Image Diffusion: Cell Painting from Brightfield Images with Class Labels
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
2310.15587 (2023-10)
SCANDL: A Diffusion Model for Generating Synthetic Scanpaths on Texts
and 11 more not named here
gather_data 10 other papers
1 dated earlier, 1 the same month, 8 later
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
2312.03641 (2023-12)
MotionCtrl: A Unified and Flexible Motion Controller for Video Generation
2401.09047 (2024-01)
VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models
and 7 more not named here
count_params 7 other papers
4 dated earlier, 3 later · 2 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
and 4 more not named here
check_istarget 1 other paper
1 later
2401.09047 (2024-01)
VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models
dict_collation_fn 1 other paper
1 later
2403.13802 (2024-03)
ZigMa: A DiT-style Zigzag Mamba Diffusion Model
frames_to_mp4 1 other paper
1 later
2411.14295 (2024-11)
DissolveStereo: Coarse Depth Injection for Zero-Shot Stereo Video Generation

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

Repositories linked to this paper

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

Abstract

Text-to-video (T2V) models have shown remarkable capabilities in generating diverse videos. However, they struggle to produce user-desired stylized videos due to (i) text's inherent clumsiness in expressing specific styles and (ii) the generally degraded style fidelity. To address these challenges, we introduce StyleCrafter, a generic method that enhances pre-trained T2V models with a style control adapter, enabling video generation in any style by providing a reference image. Considering the scarcity of stylized video datasets, we propose to first train a style control adapter using style-rich image datasets, then transfer the learned stylization ability to video generation through a tailor-made finetuning paradigm. To promote content-style disentanglement, we remove style descriptions from the text prompt and extract style information solely from the reference image using a decoupling learning strategy. Additionally, we design a scale-adaptive fusion module to balance the influences of text-based content features and image-based style features, which helps generalization across various text and style combinations. StyleCrafter efficiently generates high-quality stylized videos that align with the content of the texts and resemble the style of the reference images. Experiments demonstrate that our approach is more flexible and efficient than existing competitors.

For agents

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

get_harvested_code_for_paper("2312.00330")
get_code_for_paper("2312.00330")
have("2312.00330")

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

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

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

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

Connect an agent — have() is free.