SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.13230 · 2021

Video Swin Transformer

arXiv · PDF · Open in the Atlas

Code that ran

19 of 32 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, 0 violated it and 11 have no contract verdict; 6 failures of our instrument; 13 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/2106.13230.json · badge: /api/ran/2106.13230.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
PaddlePaddle/PaddleVideo canonical (classifier label)
classifier basis: census
4 ran · 7 no recorded run
SwinTransformer/Video-Swin-Transformer canonical (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
ytw1996/swin3d_mindspore community (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
EquipoVandV/mmactionVandV community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
haofanwang/video-swin-transformer-pytorch community (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
MohammadRezaQaderi/Video-Swin-Transformer community (classifier label)
classifier basis: plan_row
2 ran · 0 no recorded run
Whiffe/mmaction2_YF community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
anchor Ran
ran; our contract draft was wrong, not the code
EquipoVandV/mmactionVandV/docs_zh_CN/stat.py
code served (permissive licence) · get_code("d0ddd50f31a39641")
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 anchor(name):
    return re.sub('-+', '-', re.sub('[^a-zA-Z0-9]', '-', name.strip().lower())).strip('-')

ARGS = {
    'name': 'Hello-World_123!@#Test'
}
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
check_is_number Ran
ran on a synthesized input
ytw1996/swin3d_mindspore/src/utils/check_param.py
code served (permissive licence) · get_code("293dab24489b41d1")
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 math
import numpy as np

# Test case 1: valid integer
arg_value_1 = 42
arg_type_1 = int
arg_name_1 = "bias"
prim_name_1 = "bias_class"

# Test case 2: valid float
arg_value_2 = 3.14
arg_type_2 = float
arg_name_2 = "weight"
prim_name_2 = "weight_layer"

# Test case 3: no optional names
arg_value_3 = 100
arg_type_3 = int

ARGS = {
    "arg_value": 42,
    "arg_type": int,
    "arg_name": "bias",
    "prim_name": "bias_class"
}
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 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
evaluate_scenes Ran
ran on a synthesized input
PaddlePaddle/PaddleVideo/paddlevideo/metrics/transnetv2_metric.py
code served (permissive licence) · get_code("5f86f604143de119")
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

# Construct ground truth scenes: list of [start_frame, end_frame] pairs
# This represents 2 scenes in a video
gt_scenes = np.array([
    [0, 5],
    [6, 9]
], dtype=np.int32)

# Construct predicted scenes: similar structure
# These will be compared against ground truth
pred_scenes = np.array([
    [0, 5],
    [6, 9]
], dtype=np.int32)

# Tolerance parameter for frame miss tolerance
n_frames_miss_tolerance = 2

ARGS = {
    "gt_scenes": gt_scenes,
    "pred_scenes": pred_scenes,
    "n_frames_miss_tolerance": n_frames_miss_tolerance,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
expand_bbox Ran
ran on a synthesized input
PaddlePaddle/PaddleVideo/paddlevideo/modeling/bbox_utils.py
code served (permissive licence) · get_code("c434ee22884ca564")
How it ran

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

# Create a small array of bounding boxes in format [x1, y1, x2, y2]
# Using 2 bboxes as a minimal batch
bboxes = np.array([
    [10.0, 20.0, 50.0, 80.0],
    [100.0, 150.0, 200.0, 250.0]
], dtype=np.float32)

scale = 1.5

ARGS = {
    "bboxes": bboxes,
    "scale": scale
}
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 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
get_results_json Ran
ran on a synthesized input
SwinTransformer/Video-Swin-Transformer/demo/long_video_demo.py
code served (permissive licence) · get_code("95ad82b70e901f5c")
How it ran

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

from collections import deque

torch_manual_seed = __import__('torch').manual_seed(0)

# Construct result_queue as a deque containing results
# Results are tuples of (label, score)
result_queue = deque()
result_queue.append([
    ("cat", 0.95),
    ("dog", 0.78),
    ("bird", 0.15),
])

# text_info is a dict that gets populated or used as fallback
text_info = {}

# thr is a threshold for filtering scores
thr = 0.5

# msg is a default message string
msg = "No results available"

# ind is an index/key for the output dictionary
ind = "sample_1"

# out_json is the output dictionary that gets populated
out_json = {}

ARGS = {
    "result_queue": result_queue,
    "text_info": text_info,
    "thr": thr,
    "msg": msg,
    "ind": ind,
    "out_json": out_json,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_window_size Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SwinTransformer/Video-Swin-Transformer/mmaction/models/backbones/swin_transformer.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from shiqiyu/opengait, is pointer only (licence: NONE) · get_code("aad0ea11cb13d353")
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 shiqiyu/opengait, 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.

hex2color Ran
ran, honoured the contract we drafted
EquipoVandV/mmactionVandV/demo/demo_spatiotemporal_det.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from vut-hfut/micro-action, is pointer only (licence: NONE) · get_code("476b2e68d2861ca3")
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 vut-hfut/micro-action, 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.

limit_window_size Ran
ran on a synthesized input
ytw1996/swin3d_mindspore/src/models/swin3d.py
code served (permissive licence) · get_code("5f78a574a8661438")
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 int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    'input_size': (16, 56, 56),
    'window_size': (8, 7, 7),
    'shift_size': (4, 3, 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 tuple, ndim 2, dtype family int — 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
linear_warmup_learning_rate Ran
ran, honoured the contract we drafted
ytw1996/swin3d_mindspore/src/schedule/lr_schedule.py
code served (permissive licence) · get_code("d6a99ec714147ac1")
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.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - current_step: used in arithmetic (int or float)
# - warmup_steps: used in division (int or float)
# - base_lr: used in float() conversion and subtraction (int or float)
# - init_lr: used in float() conversion and addition (int or float)

ARGS = {
    "current_step": 500,
    "warmup_steps": 1000,
    "base_lr": 0.1,
    "init_lr": 0.001,
}
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 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
make_image_key Ran
ran on a synthesized input
PaddlePaddle/PaddleVideo/paddlevideo/metrics/ava_utils.py
code served (permissive licence) · get_code("bdec6fff71733f82")
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 torch

ARGS = {
    'video_id': 'video_001',
    'timestamp': 42.5
}
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 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
predictions_to_scenes Ran
ran on a synthesized input
PaddlePaddle/PaddleVideo/paddlevideo/metrics/transnetv2_metric.py
code served (permissive licence) · get_code("3da0df168740c1aa")
How it ran

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

# The function predictions_to_scenes takes a single parameter: predictions
# It iterates through predictions, treating each element as 0 or 1
# and identifies scenes (contiguous regions) based on transitions
# So predictions should be an array-like of binary values (0s and 1s)

# Create a simple predictions array with some transitions
predictions = np.array([0, 0, 1, 1, 1, 0, 0, 1, 1, 0], dtype=np.int32)

ARGS = {
    "predictions": predictions
}
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 2, dtype family int, shape (3, 2) — shape (3, 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
recur_list2tuple Ran
ran on a synthesized input
ytw1996/swin3d_mindspore/src/utils/config.py
code served (permissive licence) · get_code("64bc6885f46ca205")
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)

# Construct a nested dictionary with lists at various levels
# The function recursively converts all lists to tuples
test_dict = {
    'simple_list': [1, 2, 3],
    'nested_dict': {
        'inner_list': ['a', 'b', 'c'],
        'deep_nested': {
            'another_list': [4, 5, 6]
        }
    },
    'mixed_list': [
        {'key': 'value'},
        [7, 8, 9],
        10
    ],
    'tensor_list': [
        torch.randn(2, 4),
        torch.randn(3, 4)
    ]
}

ARGS = {
    'd': test_dict
}
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
show_results_video Ran
ran on a synthesized input
SwinTransformer/Video-Swin-Transformer/demo/long_video_demo.py
code served (permissive licence) · get_code("8bfa8e676c9b169b")
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 cv2
import numpy as np
from collections import deque

# Create a minimal video writer mock that has a write method
class MockVideoWriter:
    def write(self, frame):
        pass

# Create a small frame (3-channel BGR image)
frame = np.zeros((480, 640, 3), dtype=np.uint8)

# Create result_queue with deque containing sample results
# Each result is a tuple of (label, score)
result_queue = deque()
result_queue.append([
    ("cat", 0.95),
    ("dog", 0.85),
    ("bird", 0.45)
])

# Initial text_info dictionary
text_info = {}

# Threshold for filtering results
thr = 0.5

# Message to display when no results
msg = "Processing..."

# Video writer object
video_writer = MockVideoWriter()

# Label color (BGR format)
label_color = (255, 255, 255)

# Message color (BGR format)
msg_color = (128, 128, 128)

ARGS = {
    "result_queue": result_queue,
    "text_info": text_info,
    "thr": thr,
    "msg": msg,
    "frame": frame,
    "video_writer": video_writer,
    "label_color": label_color,
    "msg_color": msg_color
}
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 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
warmup_cosine_annealing_lr_v1 Ran
ran on a synthesized input
ytw1996/swin3d_mindspore/src/schedule/lr_schedule.py
code served (permissive licence) · get_code("1a80346f67ccb9cf")
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 (1000,) 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 math
import numpy as np

ARGS = {
    'lr': 0.1,
    'steps_per_epoch': 100,
    'warmup_epochs': 2,
    'max_epoch': 10,
    't_max': 8,
    'eta_min': 0.0
}
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 1, dtype family float, shape (1000,) — shape (1000,) 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
warmup_step_lr Ran
ran on a synthesized input
ytw1996/swin3d_mindspore/src/schedule/lr_schedule.py
code served (permissive licence) · get_code("e90ba252e203e0e9")
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 (10000,) 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
from collections import Counter

# Define ARGS dict with valid arguments for warmup_step_lr
ARGS = {
    "lr": 0.1,
    "lr_epochs": [30, 60],
    "steps_per_epoch": 100,
    "warmup_epochs": 5,
    "max_epoch": 100,
    "gamma": 0.1
}
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 1, dtype family float, shape (10000,) — shape (10000,) 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
window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haofanwang/video-swin-transformer-pytorch/video_swin_transformer.py
pointer only (licence: MIT); the stored copy get_code serves, from shiqiyu/opengait, is pointer only (licence: NONE) · get_code("c33b3de22ecbd051")
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 shiqiyu/opengait, 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.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
MohammadRezaQaderi/Video-Swin-Transformer/mmaction/models/backbones/swin_transformer.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from pkyong95/PCVOS, is pointer only (licence: GPL-3.0) · get_code("4876d8faacbd6927")
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 pkyong95/PCVOS, 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.

window_reverse Ran
ran; our contract draft was wrong, not the code
haofanwang/video-swin-transformer-pytorch/video_swin_transformer.py
pointer only (licence: MIT); the stored copy get_code serves, from shiqiyu/opengait, is pointer only (licence: NONE) · get_code("ce51a79a418f8860")
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 shiqiyu/opengait, 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.

window_reverse Ran
ran; our contract draft was wrong, not the code
MohammadRezaQaderi/Video-Swin-Transformer/mmaction/models/backbones/swin_transformer.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from tony890048/exPreCast, is pointer only (licence: NONE) · get_code("75fd6fbfca7a246c")
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 tony890048/exPreCast, 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.

build_assigner Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/modeling/builder.py
code served (permissive licence) · get_code("53a344650c2ae128")
How it ran

no invocation recorded.

build_backbone Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/modeling/builder.py
code served (permissive licence) · get_code("bd2c60c19da90ad9")
How it ran

no invocation recorded.

build_batch_pipeline Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/loader/builder.py
code served (permissive licence) · get_code("5dfa351278eb7273")
How it ran

no invocation recorded.

build_dataset Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/loader/builder.py
code served (permissive licence) · get_code("c5410bba5ff1d47e")
How it ran

no invocation recorded.

build_pipeline Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/loader/builder.py
code served (permissive licence) · get_code("47873a8759273c0e")
How it ran

no invocation recorded.

build_roi_extractor Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/modeling/builder.py
code served (permissive licence) · get_code("3dc760b0bc6bfea5")
How it ran

no invocation recorded.

check_number Not yet run
unverified (harvested, no recorded run)
ytw1996/swin3d_mindspore/src/utils/check_param.py
code served (permissive licence) · get_code("8ce6bc3f1fabc927")
How it ran

no invocation recorded.

check_number_range Not yet run
unverified (harvested, no recorded run)
ytw1996/swin3d_mindspore/src/utils/check_param.py
code served (permissive licence) · get_code("e5f77ac329bf7def")
How it ran

no invocation recorded.

create_scene_based_summaries Not yet run
unverified (harvested, no recorded run)
PaddlePaddle/PaddleVideo/paddlevideo/metrics/transnetv2_metric.py
code served (permissive licence) · get_code("1e52fb40ae4513b2")
How it ran

no invocation recorded.

frame_extraction Not yet run
unverified (harvested, no recorded run)
EquipoVandV/mmactionVandV/demo/demo_spatiotemporal_det.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from vut-hfut/micro-action, is pointer only (licence: NONE) · get_code("3fd874d90e302675")
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 vut-hfut/micro-action, 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.

frame_extraction Not yet run
unverified (harvested, no recorded run)
Whiffe/mmaction2_YF/demo/demo_spatiotemporal_det.py
code served (permissive licence) · get_code("0eaf5f857d6c4cff")
How it ran

no invocation recorded.

window_partition Not yet run
unverified (harvested, no recorded run)
ytw1996/swin3d_mindspore/src/models/swin3d.py
code served (permissive licence) · get_code("d6d654c50d77a727")
How it ran

no invocation recorded.

window_reverse Not yet run
unverified (harvested, no recorded run)
ytw1996/swin3d_mindspore/src/models/swin3d.py
code served (permissive licence) · get_code("ec28a256d8bb4236")
How it ran

no invocation recorded.

Also present in other papers' code

Of 32 samples lifted from this paper's linked repositories, 32 carry a function identity and 0 do not. Of the 30 distinct functions with an identity, 26 are also present in other papers whose code we hold (21 with at least one paper dated earlier, 0 the same month, 10 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
get_window_size 26 other papers
1 dated earlier, 25 later · 7 only as an assembly brick
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2111.14821 (2021-11)
End-to-End Referring Video Object Segmentation with Multimodal Transformers
and 23 more not named here
window_reverse 16 other papers
1 dated earlier, 15 later · 5 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2111.14821 (2021-11)
End-to-End Referring Video Object Segmentation with Multimodal Transformers
2207.02595 (2022-07)
FAST-VQA: Efficient End-to-end Video Quality Assessment with Fragment Sampling
and 13 more not named here
window_partition 15 other papers
15 later · 2 only as an assembly brick
2111.13300 (2021-11)
A Robust Volumetric Transformer for Accurate 3D Tumor Segmentation
2111.14821 (2021-11)
End-to-End Referring Video Object Segmentation with Multimodal Transformers
2206.02146 (2022-06)
Recurrent Video Restoration Transformer with Guided Deformable Attention
and 12 more not named here
linear_warmup_learning_rate 7 other papers
6 dated earlier, 1 later
1506.01497 (2015-06)
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
1606.04797 (2016-06)
V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation
1606.06650 (2016-06)
3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation
and 4 more not named here
hex2color 5 other papers
5 later
Wang_BEVT_BERT_Pretraining_of_Video_Transformers_CVPR_2022_paper (2022 (year only))
BEVT: BERT Pretraining of Video Transformers
2209.12797 (2022-09)
Rethinking Resolution in the Context of Efficient Video Recognition
2310.16447 (2023-10)
ChimpACT: A Longitudinal Dataset for Understanding Chimpanzee Behaviors
and 2 more not named here
anchor 4 other papers
1 dated earlier, 3 later
2104.09952 (2021-04)
MGSampler: An Explainable Sampling Strategy for Video Action Recognition
2209.12797 (2022-09)
Rethinking Resolution in the Context of Efficient Video Recognition
2306.15142 (2023-06)
LRANet: Towards Accurate and Efficient Scene Text Detection with Low-Rank Approximation Network
and 1 more not named here
expand_bbox 4 other papers
3 dated earlier, 1 later
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
2004.10934 (2020-04)
YOLOv4: Optimal Speed and Accuracy of Object Detection
and 1 more not named here
frame_extraction 3 other papers
3 later
Wang_BEVT_BERT_Pretraining_of_Video_Transformers_CVPR_2022_paper (2022 (year only))
BEVT: BERT Pretraining of Video Transformers
2209.12797 (2022-09)
Rethinking Resolution in the Context of Efficient Video Recognition
2403.05234 (2024-03)
Benchmarking Micro-action Recognition: Dataset, Methods, and Applications
get_results_json 3 other papers
3 later
Wang_BEVT_BERT_Pretraining_of_Video_Transformers_CVPR_2022_paper (2022 (year only))
BEVT: BERT Pretraining of Video Transformers
2209.12797 (2022-09)
Rethinking Resolution in the Context of Efficient Video Recognition
2412.21197 (2024-12)
A Large-Scale Study on Video Action Dataset Condensation
predictions_to_scenes 3 other papers
3 dated earlier
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
2008.04838 (2020-08)
TransNet V2: An effective deep network architecture for fast shot transition detection
show_results_video 3 other papers
3 later
Wang_BEVT_BERT_Pretraining_of_Video_Transformers_CVPR_2022_paper (2022 (year only))
BEVT: BERT Pretraining of Video Transformers
2209.12797 (2022-09)
Rethinking Resolution in the Context of Efficient Video Recognition
2412.21197 (2024-12)
A Large-Scale Study on Video Action Dataset Condensation
build_assigner 2 other papers
2 dated earlier
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
build_backbone 2 other papers
2 dated earlier
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
build_roi_extractor 2 other papers
2 dated earlier
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
check_is_number 2 other papers
2 dated earlier
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
2004.04730 (2020-04)
X3D: Expanding Architectures for Efficient Video Recognition
check_number 2 other papers
2 dated earlier
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
2004.04730 (2020-04)
X3D: Expanding Architectures for Efficient Video Recognition
check_number_range 2 other papers
2 dated earlier
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
2004.04730 (2020-04)
X3D: Expanding Architectures for Efficient Video Recognition
create_scene_based_summaries 2 other papers
2 dated earlier
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
evaluate_scenes 2 other papers
2 dated earlier
1911.06644 (2019-11)
You Only Watch Once: A Unified CNN Architecture for Real-Time Spatiotemporal Action Localization
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing
build_batch_pipeline 1 other paper
1 dated earlier
1911.07559 (2019-11)
FFA-Net: Feature Fusion Attention Network for Single Image Dehazing

Shown: the 20 functions present in the most other papers. 6 more shared functions are not listed here.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

The vision community is witnessing a modeling shift from CNNs to Transformers, where pure Transformer architectures have attained top accuracy on the major video recognition benchmarks. These video models are all built on Transformer layers that globally connect patches across the spatial and temporal dimensions. In this paper, we instead advocate an inductive bias of locality in video Transformers, which leads to a better speed-accuracy trade-off compared to previous approaches which compute self-attention globally even with spatial-temporal factorization. The locality of the proposed video architecture is realized by adapting the Swin Transformer designed for the image domain, while continuing to leverage the power of pre-trained image models. Our approach achieves state-of-the-art accuracy on a broad range of video recognition benchmarks, including on action recognition (84.9 top-1 accuracy on Kinetics-400 and 86.1 top-1 accuracy on Kinetics-600 with ~20x less pre-training data and ~3x smaller model size) and temporal modeling (69.6 top-1 accuracy on Something-Something v2). The code and models will be made publicly available at https://github.com/SwinTransformer/Video-Swin-Transformer.

For agents

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

get_harvested_code_for_paper("2106.13230")
get_code_for_paper("2106.13230")
have("2106.13230")

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

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

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

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

Connect an agent — have() is free.