SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Yu_Training_Weakly_Supervised_Video_Frame_Interpolation_With_Events_ICCV_2021_paper · ICCV · 2021

Training Weakly Supervised Video Frame Interpolation with Events

Yu Zhang, Yebin Liu, Jimmy Ren, Dongqing Zou, Deyuan Liu, Zhiyang Yu, Xijun Chen

Code that ran

15 of 17 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 15 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/Yu_Training_Weakly_Supervised_Video_Frame_Interpolation_With_Events_ICCV_2021_paper.json · badge: /api/ran/Yu_Training_Weakly_Supervised_Video_Frame_Interpolation_With_Events_ICCV_2021_paper.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
YU-Zhiyang/WEVI canonical (classifier label)
classifier basis: census
15 ran · 2 no recorded run
FunctionStatusWhere it lives
ToCVImage Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/imgTool_.py
code served (permissive licence) · get_code("207aab2f85349050")
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 int, 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 torch
import numpy as np

torch.manual_seed(0)

# Create a small tensor with shape (batch=1, channels=3, height=4, width=5)
# The function expects a 4D tensor with shape (batch, channels, height, width)
tensor = torch.randn(1, 3, 4, 5)

ARGS = {
    "tensor": tensor
}
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 int, 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
backWarp Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/fitTool.py
code served (permissive licence) · get_code("7ae04d814966e410")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 3, 5) 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)

# img: torch.Tensor - should be shape (N, C, H, W) where N=batch, C=channels, H=height, W=width
# flow: torch.Tensor - should be shape (N, 2, H, W) where the 2 channels are u (x-displacement) and v (y-displacement)

N, C, H, W = 2, 4, 3, 5

# Create a small image tensor (batch_size=2, channels=4, height=3, width=5)
img = torch.randn(N, C, H, W, dtype=torch.float32)

# Create a small flow tensor (batch_size=2, 2 channels for u and v, height=3, width=5)
# Flow values should be small displacements
flow = torch.randn(N, 2, H, W, dtype=torch.float32) * 0.5

ARGS = {
    'img': img,
    'flow': flow,
}
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 4, dtype family float, shape (2, 4, 3, 5) — shape (2, 4, 3, 5) 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
calPSNRBatch Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/metrics.py
code served (permissive licence) · get_code("1f409aa190f33ca7")
How it ran

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

import torch

torch.manual_seed(0)

# Create two small image batches for comparison
# Shape: (batch_size, channels, height, width) = (2, 3, 4, 5)
imgTrue = torch.rand(2, 3, 4, 5)
imgTest = torch.rand(2, 3, 4, 5)

# Create a minimal config dict
cfg = {
    "name": "test_config",
    "value": 42
}

ARGS = {
    "imgTrue": imgTrue,
    "imgTest": imgTest,
    "cfg": cfg
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
crop Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/imgTool_.py
code served (permissive licence) · get_code("7ab73c1bbec83f15")
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 int, 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

# Create a simple numpy image (height, width, channels)
# Using shape (10, 12, 3) for a small RGB image
img = np.random.randint(0, 256, size=(10, 12, 3), dtype=np.uint8)

# Define crop parameters
x = 1  # upper pixel coordinate (row start)
y = 2  # left pixel coordinate (col start)
h = 4  # height of cropped region
w = 5  # width of cropped region

ARGS = {
    'img': img,
    'x': x,
    'y': y,
    'h': h,
    'w': w
}
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 3, dtype family int, 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
getAccFlow Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/fitTool.py
code served (permissive licence) · get_code("6f1f2c7decce56fb")
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 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct tensors for the function parameters
# The function performs: F0t = aF * t ** 2 + bF * t
#                       F1t = aB * (1 - t) ** 2 + bB * (1 - t)
# Then calls .to(device) on the results
# So aF, bF, aB, bB should be tensors
# t should be a tensor (scalar or compatible for broadcasting)
# device should be a torch device

aF = torch.randn(2, 4)
bF = torch.randn(2, 4)
aB = torch.randn(2, 4)
bB = torch.randn(2, 4)
t = torch.tensor(0.5)
device = torch.device('cpu')

ARGS = {
    'aF': aF,
    'bF': bF,
    'aB': aB,
    'bB': bB,
    't': t,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, 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
getAccParam Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/fitTool.py
code served (permissive licence) · get_code("700cc292e2251e30")
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 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 torch
import numpy as np

torch.manual_seed(0)

# The function getAccParam takes two parameters F0_1 and F01
# It performs arithmetic operations on them: addition, subtraction, division
# So they need to be numeric types that support these operations
# They can be tensors, numpy arrays, or scalars

# Create small tensor arguments
F0_1 = torch.tensor([1.0, 2.0, 3.0, 4.0])
F01 = torch.tensor([5.0, 6.0, 7.0, 8.0])

ARGS = {
    "F0_1": F0_1,
    "F01": F01
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, 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
getAllFiles Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/fileTool.py
code served (permissive licence) · get_code("0a8510249e07b7d6")
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 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
from pathlib import Path

# Create a temporary directory with some test files
with tempfile.TemporaryDirectory() as tmpdir:
    # Create some test files with different extensions
    test_dir = Path(tmpdir)
    
    # Create nested directories and files
    (test_dir / "subdir1").mkdir()
    (test_dir / "subdir1" / "subdir2").mkdir()
    
    (test_dir / "file1.txt").touch()
    (test_dir / "file2.py").touch()
    (test_dir / "subdir1" / "file3.txt").touch()
    (test_dir / "subdir1" / "file4.py").touch()
    (test_dir / "subdir1" / "subdir2" / "file5.txt").touch()
    
    # Now define ARGS with the temporary directory root
    ARGS = {
        "root": str(test_dir),
        "ext": None
    }
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 1, 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
getOptimizer Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/dlTool.py
code served (permissive licence) · get_code("42f09896c5348f30")
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 Adam. 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)

# Build a minimal nn.Module
class TinyNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Build a minimal config object with all required attributes
class Config:
    def __init__(self, opt_policy='adam'):
        self.optPolicy = opt_policy
        self.lrInit = 0.001
        self.optBetas = (0.9, 0.999)
        self.optDecay = 0.0001
        self.optMomentum = 0.9

# Create instances
net = TinyNet()
cfg = Config(opt_policy='adam')

ARGS = {
    'net': net,
    'cfg': cfg
}
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 Adam — a Adam output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Adam 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
getQviOpt Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/dlTool.py
code served (permissive licence) · get_code("e1202f891692ff0e")
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 Adam. 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 logging

torch.manual_seed(0)

# Create minimal submodules
class RefinenetModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)

class MasknetModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)

class FlownetModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.up_sample = nn.Linear(3, 2)

class GetBezierFlowModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)

# Create main network with required submodules
class QviNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.refinenet = RefinenetModule()
        self.masknet = MasknetModule()
        self.flownet = FlownetModule()
        self.getBezierFlow = GetBezierFlowModule()

# Create config with required attributes
class Config:
    def __init__(self):
        self.step = 1
        self.envRank = 0
        self.lrInit = 0.001
        self.optBetas = (0.9, 0.999)
        self.optDecay = 1e-4
        # Create a minimal logger
        self.trainLogger = logging.getLogger('test')
        self.trainLogger.setLevel(logging.INFO)

net = QviNet()
cfg = Config()

ARGS = {
    'net': net,
    'cfg': cfg
}
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 Adam — a Adam output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Adam 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
getScheduler Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/dlTool.py
code served (permissive licence) · get_code("1b34dfba4d9eee56")
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 StepLR. 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 torch.optim import Adam

torch.manual_seed(0)

# Create a minimal model
model = nn.Linear(4, 2)

# Create an optimizer
optimizer = Adam(model.parameters(), lr=0.001)

# Create a config class with all required attributes
class Config:
    def __init__(self, lrPolicy):
        self.lrPolicy = lrPolicy
        self.lrdecayIter = 10
        self.lrdecay = 0.5
        self.lrMilestones = [5, 15]
        self.trainEpoch = 20
        self.lrGamma = 0.9

# Test with 'step' policy
cfg_step = Config('step')
cfg_multistep = Config('multistep')
cfg_plateau = Config('plateau')
cfg_cosine = Config('cosine')
cfg_exp = Config('exp')

# Use the step policy config as the main test case
ARGS = {
    'optimizer': optimizer,
    'cfg': cfg_step
}
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 StepLR — a StepLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a StepLR 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
getallSamples Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/drawevent.py
code served (permissive licence) · get_code("81f75ffa1f965e3f")
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 torch
import numpy as np

torch.manual_seed(0)

# The function expects allFiles to be an indexable sequence (list)
# It accesses elements by index: allFiles[start2], allFiles[start2 + subSetSize], allFiles[start2:start2 + subSetSize], allFiles[-subSetSize:]
# The elements themselves are just used for appending to a list, so they can be any objects
# We need at least subSetSize (19) + 1 = 20 elements to avoid index errors

# Create a list with enough elements (at least 39 to allow subSetSize=19 offset)
allFiles = [f"file_{i}" for i in range(40)]

ARGS = {
    "allFiles": allFiles,
    "numInter": 9
}
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 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
loadaerdat Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/eventJiangzhe.py
code served (permissive licence) · get_code("8bbc07ecfbbb238a")
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
import struct
import tempfile
import os

# Create a minimal valid .aedat file for testing
def create_test_aedat_file():
    """Create a minimal valid AEDAT file with some DVS and APS events."""
    with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.aedat') as f:
        temp_path = f.name
        
        # Write header comments
        f.write(b'#!AER-DAT2.0\n')
        f.write(b'# Test file\n')
        
        # Write some DVS events
        # Format: addr (4 bytes) + timestamp (4 bytes)
        for i in range(10):
            # Create a DVS event (eventtype=0)
            x = 50 + i
            y = 60 + i
            pol = 1
            # Construct address with eventtype=0 (DVS)
            addr = (x << 12) | (y << 22) | (pol << 11)
            ts = 1000 + i * 100
            f.write(struct.pack('>II', addr, ts))
        
        # Write some APS events
        for i in range(5):
            # APS event with eventtype=1
            x = 10 + i
            y = 20 + i
            adc_data = 512 + i * 10
            read_reset = 0
            # Construct address with eventtype=1 (APS)
            addr = (1 << 31) | (x << 12) | (y << 22) | (read_reset << 10) | adc_data
            ts = 2000 + i * 100
            f.write(struct.pack('>II', addr, ts))
        
        return temp_path

# Create the test file
test_file_path = create_test_aedat_file()

ARGS = {
    'datafile': test_file_path,
    'length': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tqdm — 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
makeGrid Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/imgTool.py
code served (permissive licence) · get_code("d268c1c094fbccfb")
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 (12, 9, 2) 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

# Create a list of small images
# Each image should be (H, W, C) format
# Let's use H=4, W=3, C=2 to have distinct dimensions

img1 = np.random.rand(4, 3, 2).astype(np.float32)
img2 = np.random.rand(4, 3, 2).astype(np.float32)
img3 = np.random.rand(4, 3, 2).astype(np.float32)
img4 = np.random.rand(4, 3, 2).astype(np.float32)
img5 = np.random.rand(4, 3, 2).astype(np.float32)
img6 = np.random.rand(4, 3, 2).astype(np.float32)
img7 = np.random.rand(4, 3, 2).astype(np.float32)
img8 = np.random.rand(4, 3, 2).astype(np.float32)
img9 = np.random.rand(4, 3, 2).astype(np.float32)

imgList = [img1, img2, img3, img4, img5, img6, img7, img8, img9]

ARGS = {
    'imgList': imgList,
    'shape': (3, 3)
}
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 ndarray, ndim 3, dtype family float, shape (12, 9, 2) — shape (12, 9, 2) 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
mkPath Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/fileTool.py
code served (permissive licence) · get_code("548093699ac7fb6f")
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 tempfile
from pathlib import Path

# Create a temporary directory to use as a base for path creation
temp_base = tempfile.mkdtemp()

# Define a path that doesn't exist yet (so mkdir will succeed)
test_path = Path(temp_base) / "new_directory" / "nested" / "path"

ARGS = {
    "path": str(test_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 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
toCVImage Ran
ran on a synthesized input
YU-Zhiyang/WEVI/DVSTool/lib/imgTool.py
code served (permissive licence) · get_code("52a529e648671a66")
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 int, shape (4, 3, 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 torch
import numpy as np

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, channels=1, height=4, width=3)
# The function expects a 4D tensor and processes the first element [0]
tensor = torch.randn(2, 1, 4, 3)

ARGS = {
    "tensor": tensor
}
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 int, shape (4, 3, 3) — shape (4, 3, 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
getSubDirs Not yet run
unverified (harvested, no recorded run)
YU-Zhiyang/WEVI/DVSTool/lib/fileTool.py
code served (permissive licence) · get_code("92342d7c3f06f0db")
How it ran

no invocation recorded.

reduceTensorMean Not yet run
unverified (harvested, no recorded run)
YU-Zhiyang/WEVI/DVSTool/lib/distribTool.py
code served (permissive licence) · get_code("c1ceb31e603bc7c9")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 14 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
getAllFiles 1 other paper
1 later
136750141 (2022 (year only))
Deep Bayesian Video Frame Interpolation
getSubDirs 1 other paper
1 later
136750141 (2022 (year only))
Deep Bayesian Video Frame Interpolation
mkPath 1 other paper
1 later
136750141 (2022 (year only))
Deep Bayesian Video Frame Interpolation

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

Event-based video frame interpolation is promising as event cameras capture dense motion signals that can greatly facilitate motion-aware synthesis. However, training existing frameworks for this task requires high frame-rate videos with synchronized events, posing challenges to collect real training data. In this work we show event-based frame interpolation can be trained without the need of high framerate videos. This is achieved via a novel weakly supervised framework that 1) corrects image appearance by extracting complementary information from events and 2) supplants motion dynamics modeling with attention mechanisms. For the latter we propose subpixel attention learning, which supports searching high-resolution correspondence efficiently on low-resolution feature grid. Though trained on low frame-rate videos, our framework outperforms existing models trained with full high frame-rate videos (and events) on both GoPro dataset and a new real event-based dataset. Codes, models and dataset will be made available at: https://github.com/YU-Zhiyang/WEVI. † The work is done during an internship at SenseTime Research.

For agents

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

get_harvested_code_for_paper("Yu_Training_Weakly_Supervised_Video_Frame_Interpolation_With_Events_ICCV_2021_paper")
get_code_for_paper("Yu_Training_Weakly_Supervised_Video_Frame_Interpolation_With_Events_ICCV_2021_paper")
have("Yu_Training_Weakly_Supervised_Video_Frame_Interpolation_With_Events_ICCV_2021_paper")

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

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

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

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

Connect an agent — have() is free.