SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1611.05267 · 2016

Temporal Convolutional Networks for Action Segmentation and Detection

arXiv · PDF · Open in the Atlas

Code that ran

12 of 21 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 10 have no contract verdict; 2 failures of our instrument; 9 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/1611.05267.json · badge: /api/ran/1611.05267.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
colincsl/TemporalConvolutionalNetworks canonical (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
yz-cnsdqz/TemporalActionParsing-FineGrained community (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
coderSkyChen/Action_Recognition_Zoo community (classifier label)
classifier basis not recorded on the link
4 ran · 4 no recorded run
FunctionStatusWhere it lives
acc_per_class Ran
ran on a synthesized input
yz-cnsdqz/TemporalActionParsing-FineGrained/code/metrics.py
code served (permissive licence) · get_code("c883039138eb45f8")
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 (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

# Set seed for reproducibility
np.random.seed(0)

# Create simple test data for acc_per_class
# P: predicted class labels (array-like)
# Y: true class labels (array-like)
# bg_class: background class index to exclude (optional)
# n_classes: number of classes

# Single prediction case
P_single = np.array([0, 1, 2, 0, 1, 2, 0, 1])
Y_single = np.array([0, 1, 2, 0, 1, 1, 2, 1])
n_classes_val = 3

# List of predictions case (for testing list input)
P_list = [
    np.array([0, 1, 2, 0]),
    np.array([1, 2, 0, 1])
]
Y_list = [
    np.array([0, 1, 2, 0]),
    np.array([1, 2, 0, 1])
]

ARGS = {
    "P": P_single,
    "Y": Y_single,
    "bg_class": None,
    "n_classes": n_classes_val
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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 (3,) — shape (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
accuracy Ran
ran on a synthesized input
yz-cnsdqz/TemporalActionParsing-FineGrained/code/metrics.py
code served (permissive licence) · get_code("8004ab3df5eb8302")
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 float64, ndim 0, 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 numpy as np

# Case 1: P and Y are numpy arrays (not lists)
P_array = np.array([0, 1, 0, 1])
Y_array = np.array([0, 1, 1, 1])

# Case 2: P and Y are lists of numpy arrays
P_list = [np.array([0, 1, 0]), np.array([1, 1, 0])]
Y_list = [np.array([0, 1, 1]), np.array([1, 0, 0])]

# Use the list case for the main ARGS since it exercises both branches
ARGS = {
    "P": P_list,
    "Y": Y_list
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
build_conv Ran
ran on a synthesized input
coderSkyChen/Action_Recognition_Zoo/model_zoo/bninception/layer_factory.py
code served (permissive licence) · get_code("be05a6e3e87f6f10")
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.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct the attr dictionary with all required attributes
attr = {
    'num_output': 16,
    'kernel_size': (3, 3),
    'pad': (1, 1),
    'stride': (1, 1)
}

# Alternative attr dict using separate height/width attributes
attr_hw = {
    'num_output': 32,
    'kernel_h': 5,
    'kernel_w': 5,
    'pad_h': 2,
    'pad_w': 2,
    'stride_h': 1,
    'stride_w': 1
}

# The channels parameter - input channels for Conv2d
channels = 3

# The conv_bias parameter
conv_bias = False

ARGS = {
    'attr': attr,
    'channels': channels,
    'conv_bias': conv_bias
}
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 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
closest_file Ran
ran; our contract draft was wrong, not the code
colincsl/TemporalConvolutionalNetworks/code/datasets.py
code served (permissive licence) · get_code("06d279655c9e1de9")
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 os
import tempfile
import shutil

# Create a temporary directory with some test files
tmpdir = tempfile.mkdtemp()
test_file_base = "test_data"
test_file1 = os.path.join(tmpdir, f"{test_file_base}.mat")
test_file2 = os.path.join(tmpdir, f"{test_file_base}_v2.mat")
test_file3 = os.path.join(tmpdir, f"{test_file_base}.txt")

# Create dummy files
open(test_file1, 'w').close()
open(test_file2, 'w').close()
open(test_file3, 'w').close()

# Create a file path that doesn't exist but shares a basename with existing files
fid = os.path.join(tmpdir, f"{test_file_base}.mat")

ARGS = {
    'fid': fid,
    'extension': '.mat'
}
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
inceptionv4 Ran
ran on a synthesized input
coderSkyChen/Action_Recognition_Zoo/model_zoo/inceptionv4/pytorch_load.py
code served (permissive licence) · get_code("d32fef6df85c8973")
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 InceptionV4. 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)

# The function signature needs to be inferred from the code structure.
# Based on the class definitions, inceptionv4 likely takes pretrained as a parameter
# and returns an InceptionV4 model instance.

class InceptionV4(nn.Module):
    def __init__(self):
        super(InceptionV4, self).__init__()
        # Stem
        self.conv2d_1a = BasicConv2d(3, 32, kernel_size=3, stride=2)
        self.conv2d_2a = BasicConv2d(32, 32, kernel_size=3, stride=1)
        self.conv2d_2b = BasicConv2d(32, 64, kernel_size=3, stride=1, padding=1)
        self.maxpool1 = nn.MaxPool2d(3, stride=2)
        self.conv2d_3b = BasicConv2d(64, 80, kernel_size=1, stride=1)
        self.conv2d_4a = BasicConv2d(80, 192, kernel_size=3, stride=1)
        self.maxpool2 = nn.MaxPool2d(3, stride=2)
        
        # Mixed 5b
        self.mixed_5b = Inception_A()
        self.mixed_5c = Inception_A()
        self.mixed_5d = Inception_A()
        
        # Reduction A
        self.reduction_a = Reduction_A()
        
        # Inception B blocks
        self.mixed_6a = Inception_B()
        self.mixed_6b = Inception_B()
        self.mixed_6c = Inception_B()
        
        # Reduction B
        self.reduction_b = Reduction_B()
        
        self.avgpool = nn.AdaptiveAvgPool2d((1, 1))
        self.dropout = nn.Dropout(p=0.5)
        self.last_linear = nn.Linear(1536, 1000)
        
    def forward(self, x):
        x = self.conv2d_1a(x)
        x = self.conv2d_2a(x)
        x = self.conv2d_2b(x)
        x = self.maxpool1(x)
        x = self.conv2d_3b(x)
        x = self.conv2d_4a(x)
        x = self.maxpool2(x)
        
        x = self.mixed_5b(x)
        x = self.mixed_5c(x)
        x = self.mixed_5d(x)
        
        x = self.reduction_a(x)
        
        x = self.mixed_6a(x)
        x = self.mixed_6b(x)
        x = self.mixed_6c(x)
        
        x = self.reduction_b(x)
        
        x = self.avgpool(x)
        x = x.view(x.size(0), -1)
        x = self.dropout(x)
        x = self.last_linear(x)
        
        return x

def inceptionv4(pretrained=False, **kwargs):
    model = InceptionV4()
    if pretrained:
        state_dict = model_zoo.load_url(model_urls['imagenet'])
        model.load_state_dict(state_dict)
    return model

# Define the Reduction_B class (rest of it)
class Reduction_B(nn.Module):
    def __init__(self):
        super(Reduction_B, self).__init__()
        self.branch0 = nn.Sequential(BasicConv2d(1024, 192, kernel_size=1, stride=1), BasicConv2d(192, 192, kernel_size=3, stride=2))
        self.branch1 = nn.Sequential(BasicConv2d(1024, 256, kernel_size=1, stride=1), BasicConv2d(256, 256, kernel_size=(1, 7), stride=1, padding=(0, 3)), BasicConv2d(256, 320, kernel_size=(7, 1), stride=1, padding=(3, 0)), BasicConv2d(320, 320, kernel_size=3, stride=2))
        self.branch2 = nn.MaxPool2d(3, stride=2)

    def forward(self, x):
        x0 = self.branch0(x)
        x1 = self.branch1(x)
        x2 = self.branch2(x)
        out = torch.cat((x0, x1, x2), 1)
        return out

ARGS = {
    'pretrained': 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 InceptionV4 — a InceptionV4 output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a InceptionV4 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
macro_accuracy Ran
ran on a synthesized input
yz-cnsdqz/TemporalActionParsing-FineGrained/code/metrics.py
code served (permissive licence) · get_code("7f7a53e95b6da888")
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 float64, ndim 0, 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 numpy as np
import sklearn.metrics as sm

# Set seed for reproducibility
np.random.seed(0)

# Create small test data for single case
n_classes = 4
P_single = np.array([0, 1, 2, 3, 0, 1, 2, 3])  # predictions
Y_single = np.array([0, 1, 2, 3, 1, 0, 2, 3])  # ground truth

# Create data for list case
P_list = [
    np.array([0, 1, 2, 3, 0]),
    np.array([1, 2, 3, 0, 1])
]
Y_list = [
    np.array([0, 1, 2, 3, 1]),
    np.array([1, 2, 3, 0, 0])
]

# Test with single array case
ARGS = {
    'P': P_single,
    'Y': Y_single,
    'n_classes': n_classes,
    'bg_class': None,
    'return_all': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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_padding Ran
ran on a synthesized input
coderSkyChen/Action_Recognition_Zoo/model_zoo/inceptionresnetv2/tensorflow_dump.py
code served (permissive licence) · get_code("4f1d751693519d59")
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 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
import math

torch.manual_seed(0)

ARGS = {
    'padding_name': b'SAME',
    'conv_shape': [5, 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 list, ndim 1, dtype family int — 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
mask_data Ran
ran on a synthesized input
yz-cnsdqz/TemporalActionParsing-FineGrained/code/utils.py
code served (permissive licence) · get_code("b50ea12bc6767488")
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

# Create sample data for X and Y
# X is a list of 2D arrays (sequences of feature vectors)
# Y is a list of 2D arrays (sequences of target vectors)

# First sequence: 3 timesteps, 4 features
X_seq1 = np.array([[1.0, 2.0, 3.0, 4.0],
                    [5.0, 6.0, 7.0, 8.0],
                    [9.0, 10.0, 11.0, 12.0]], dtype=np.float32)

# Second sequence: 2 timesteps, 4 features (shorter)
X_seq2 = np.array([[13.0, 14.0, 15.0, 16.0],
                    [17.0, 18.0, 19.0, 20.0]], dtype=np.float32)

X = [X_seq1, X_seq2]

# Corresponding Y sequences: 5 features
Y_seq1 = np.array([[1.5, 2.5, 3.5, 4.5, 5.5],
                    [6.5, 7.5, 8.5, 9.5, 10.5],
                    [11.5, 12.5, 13.5, 14.5, 15.5]], dtype=np.float32)

Y_seq2 = np.array([[16.5, 17.5, 18.5, 19.5, 20.5],
                    [21.5, 22.5, 23.5, 24.5, 25.5]], dtype=np.float32)

Y = [Y_seq1, Y_seq2]

ARGS = {
    'X': X,
    'Y': Y,
    'max_len': None,
    'mask_value': 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 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
match_lengths Ran
ran on a synthesized input
yz-cnsdqz/TemporalActionParsing-FineGrained/code/utils.py
code served (permissive licence) · get_code("a47eec9325b7d9e1")
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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - X and Y are lists (len(Y) is used, indexing with [i])
# - X[i] and Y[i] are accessed with .ndim, .shape attributes
# - X[i] can be sliced with [:, :length] (2D case) or [:length] (1D case)
# - Y[i] is sliced with [:length] (1D)
# - n_feat is compared with X[0].shape[0]

# The function handles two cases:
# 1. X[0].ndim == 1 OR X[0].shape[0] == n_feat: X is (n_feat, time), Y is (time,)
# 2. Otherwise: X is (time,) or (time, features), Y is (time,)

# Case 1: X elements are 2D (n_feat, time_steps), Y elements are 1D (time_steps,)
X_case1 = [
    torch.randn(4, 5),  # (n_feat=4, time=5)
    torch.randn(4, 7),  # (n_feat=4, time=7)
]
Y_case1 = [
    torch.randn(6),     # (time=6,) - will be truncated to min(5, 6)=5
    torch.randn(8),     # (time=8,) - will be truncated to min(7, 8)=7
]
n_feat_case1 = 4

ARGS = {
    "X": X_case1,
    "Y": Y_case1,
    "n_feat": n_feat_case1,
}
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 — 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
parse_expr Ran
ran on a synthesized input
coderSkyChen/Action_Recognition_Zoo/model_zoo/bninception/layer_factory.py
code served (permissive licence) · get_code("2933e3a59e4c6ae9")
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)

def parse_expr(expr):
    parts = expr.split('<=')
    return (parts[0].split(','), parts[1], parts[2].split(','))

# The function takes a single string parameter 'expr'
# It expects a string with the format: "a,b,c<=middle<=d,e,f"
# It splits by '<=', then splits the first and third parts by ','

expr_value = "a,b,c<=middle<=d,e,f"

ARGS = {
    'expr': expr_value
}
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
remove_exts Ran
ran; our contract draft was wrong, not the code
colincsl/TemporalConvolutionalNetworks/code/datasets.py
code served (permissive licence) · get_code("a7f295162b45beb0")
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
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - remove_exts(name, exts)
# - name: a string that will have methods .replace() called on it
# - exts: an iterable of strings to remove from name
# - The function iterates through exts and removes each from name

name = "my_model_checkpoint.pt.bak.tmp"
exts = [".pt", ".bak", ".tmp"]

ARGS = {
    "name": name,
    "exts": exts
}
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 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
unmask Ran
ran on a synthesized input
yz-cnsdqz/TemporalActionParsing-FineGrained/code/utils.py
code served (permissive licence) · get_code("192ada040c3a7091")
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 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 numpy as np

torch.manual_seed(0)

# The function unmask takes two parameters:
# X: a list of arrays/tensors
# M: a list of mask arrays/tensors with the same length as X

# Looking at the function:
# - It accesses X[i].ndim and X[i].shape
# - It accesses M[i].flatten()
# - It uses boolean indexing or column selection based on the condition
# - The condition checks if X[0] is 1D or has more rows than columns

# Create X as a list of tensors
# Case 1: Create tensors where ndim == 1 or rows > cols
X = [
    torch.randn(5, 1),  # 5 rows, 1 col - rows > cols, so will use row indexing
    torch.randn(4, 1),  # 4 rows, 1 col - rows > cols
]

# Create corresponding masks
# M should be the same shape as X elements, with values > 0 where we want to keep elements
M = [
    torch.tensor([[1.0], [0.0], [1.0], [1.0], [0.0]]),  # shape (5, 1)
    torch.tensor([[1.0], [1.0], [0.0], [1.0]]),  # shape (4, 1)
]

ARGS = {
    "X": X,
    "M": M,
}
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 3, 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
WaveNet_activation Not yet run
unverified (harvested, no recorded run)
colincsl/TemporalConvolutionalNetworks/code/tf_models.py
code served (permissive licence) · get_code("98987430faeae0e4")
How it ran

no invocation recorded.

WaveNet_activation Not yet run
unverified (harvested, no recorded run)
yz-cnsdqz/TemporalActionParsing-FineGrained/code/tf_models.py
code served (permissive licence) · get_code("76c2c6373d14c20d")
How it ran

no invocation recorded.

channel_normalization Not yet run
unverified (harvested, no recorded run)
yz-cnsdqz/TemporalActionParsing-FineGrained/code/tf_models.py
code served (permissive licence) · get_code("f697d40c53839400")
How it ran

no invocation recorded.

compact_bilinear_pooling_layer Not yet run
unverified (harvested, no recorded run)
yz-cnsdqz/TemporalActionParsing-FineGrained/code/compact_bilinear_pooling.py
code served (permissive licence) · get_code("87878118970340bc")
How it ran

no invocation recorded.

get_basic_layer Not yet run
unverified (harvested, no recorded run)
coderSkyChen/Action_Recognition_Zoo/model_zoo/bninception/layer_factory.py
code served (permissive licence) · get_code("2f0ad6423dba6ceb")
How it ran

no invocation recorded.

inceptionresnetv2 Not yet run
unverified (harvested, no recorded run)
coderSkyChen/Action_Recognition_Zoo/model_zoo/inceptionresnetv2/pytorch_load.py
code served (permissive licence) · get_code("99e441e1779f2584")
How it ran

no invocation recorded.

max_filter Not yet run
unverified (harvested, no recorded run)
yz-cnsdqz/TemporalActionParsing-FineGrained/code/tf_models.py
code served (permissive licence) · get_code("8eb9376364bd190f")
How it ran

no invocation recorded.

test Not yet run
unverified (harvested, no recorded run)
coderSkyChen/Action_Recognition_Zoo/model_zoo/inceptionresnetv2/pytorch_load.py
code served (permissive licence) · get_code("ae9e3d8a0c2437a3")
How it ran

no invocation recorded.

test Not yet run
unverified (harvested, no recorded run)
coderSkyChen/Action_Recognition_Zoo/model_zoo/inceptionv4/pytorch_load.py
code served (permissive licence) · get_code("0795c8d92282a8a8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 16 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
WaveNet_activation 1 other paper
1 later
1803.10699 (2018-03)
Weakly-Supervised Action Segmentation with Iterative Soft Boundary Assignment
accuracy 1 other paper
1 later
1803.10699 (2018-03)
Weakly-Supervised Action Segmentation with Iterative Soft Boundary Assignment
channel_normalization 1 other paper
1 later
1803.10699 (2018-03)
Weakly-Supervised Action Segmentation with Iterative Soft Boundary Assignment
macro_accuracy 1 other paper
1 later
1803.10699 (2018-03)
Weakly-Supervised Action Segmentation with Iterative Soft Boundary Assignment
max_filter 1 other paper
1 later
1803.10699 (2018-03)
Weakly-Supervised Action Segmentation with Iterative Soft Boundary Assignment

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 ability to identify and temporally segment fine-grained human actions throughout a video is crucial for robotics, surveillance, education, and beyond. Typical approaches decouple this problem by first extracting local spatiotemporal features from video frames and then feeding them into a temporal classifier that captures high-level temporal patterns. We introduce a new class of temporal models, which we call Temporal Convolutional Networks (TCNs), that use a hierarchy of temporal convolutions to perform fine-grained action segmentation or detection. Our Encoder-Decoder TCN uses pooling and upsampling to efficiently capture long-range temporal patterns whereas our Dilated TCN uses dilated convolutions. We show that TCNs are capable of capturing action compositions, segment durations, and long-range dependencies, and are over a magnitude faster to train than competing LSTM-based Recurrent Neural Networks. We apply these models to three challenging fine-grained datasets and show large improvements over the state of the art.

For agents

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

get_harvested_code_for_paper("1611.05267")
get_code_for_paper("1611.05267")
have("1611.05267")

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

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

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

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

Connect an agent — have() is free.