SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.09120 · 2022

AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders

arXiv · PDF · Open in the Atlas

Code that ran

18 of 25 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; 4 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 10 failures of our instrument; 7 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/2211.09120.json · badge: /api/ran/2211.09120.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
wgcban/adamae canonical (classifier label)
classifier basis not recorded on the link
14 ran · 1 no recorded run
Nithin-GK/UniteandConquer community (classifier label)
classifier basis not recorded on the link
4 ran · 6 no recorded run
FunctionStatusWhere it lives
CE_loss Ran
ran on a synthesized input
wgcban/adamae/msc/losses.py
code served (permissive licence) · get_code("0d86b6995e23b2d4")
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 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 torch.nn.functional as F

torch.manual_seed(0)

# Create tiny tensors for the function
# input_logits: logits tensor of shape (batch_size, num_classes)
input_logits = torch.randn(2, 4)

# target_targets: class indices of shape (batch_size,)
target_targets = torch.tensor([0, 2])

# temperature: scalar value
temperature = 1.0

ARGS = {
    "input_logits": input_logits,
    "target_targets": target_targets,
    "temperature": temperature,
}
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 Tensor, 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
args_to_dict Ran
ran; our contract draft was wrong, not the code
Nithin-GK/UniteandConquer/class_utils/script_util.py
code served (permissive licence) · get_code("4e2ac192b520c457")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

class Args:
    """Stand-in class for args object with attributes."""
    def __init__(self):
        self.model_name = "bert-base"
        self.learning_rate = 0.001
        self.batch_size = 32
        self.num_epochs = 5
        self.dropout = 0.1
        self.hidden_dim = 768

args = Args()
keys = ["model_name", "learning_rate", "batch_size", "num_epochs"]

ARGS = {
    "args": args,
    "keys": keys,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
crop_clip Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wgcban/adamae/functional.py
code served (permissive licence) · get_code("bc39b8ed5fefa7eb")
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 4, 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 numpy as np
import PIL
from PIL import Image

# Create a small numpy array-based clip
np_clip = [
    np.random.randint(0, 256, (100, 120, 3), dtype=np.uint8),
    np.random.randint(0, 256, (100, 120, 3), dtype=np.uint8),
]

# Create a small PIL Image-based clip
pil_clip = [
    Image.new('RGB', (120, 100), color=(73, 109, 137)),
    Image.new('RGB', (120, 100), color=(200, 150, 100)),
]

# Test with numpy arrays
ARGS = {
    'clip': np_clip,
    'min_h': 10,
    'min_w': 15,
    'h': 50,
    'w': 60,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, 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
d_clip_loss Ran
ran on a synthesized input
Nithin-GK/UniteandConquer/face_utils/farl_text.py
code served (permissive licence) · get_code("65ce936001e1e5a2")
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 1, dtype family float, shape (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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for x and y
# x and y are normalized in the function, so they should be 2D tensors
# The function uses x @ y.t() which suggests x is (batch, dim) and y is (batch, dim)
# Using batch=2, dim=4 as specified
x = torch.randn(2, 4)
y = torch.randn(2, 4)

ARGS = {
    "x": x,
    "y": y,
    "use_cosine": 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 Tensor, ndim 1, dtype family float, shape (2,) — shape (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
get_alpha Ran
ran on a synthesized input
wgcban/adamae/msc/losses.py
code served (permissive licence) · get_code("612575eeaa3ae40c")
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

torch.manual_seed(0)

# Create a minimal supervised loader
# The function expects tuples of (imageA_batch, imageB_batch, label_batch)
# It only uses label_batch, so imageA and imageB can be dummy tensors

supervised_loader = [
    (
        torch.randn(2, 4),  # imageA_batch
        torch.randn(2, 4),  # imageB_batch
        torch.tensor([0, 1])  # label_batch
    ),
    (
        torch.randn(2, 4),  # imageA_batch
        torch.randn(2, 4),  # imageB_batch
        torch.tensor([1, 2])  # label_batch
    ),
    (
        torch.randn(2, 4),  # imageA_batch
        torch.randn(2, 4),  # imageB_batch
        torch.tensor([0, 2])  # label_batch
    )
]

ARGS = {
    "supervised_loader": supervised_loader
}
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
get_loss_scale_for_deepspeed Ran
ran, honoured the contract we drafted
wgcban/adamae/msc/engine_for_finetuning.py
pointer only (licence: MIT); the stored copy get_code serves, from kangsankim07/videoicl, is pointer only (licence: NONE) · get_code("29416043c7035e7c")
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 kangsankim07/videoicl, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_num_layer_for_vit Ran
ran, honoured the contract we drafted
wgcban/adamae/optim_factory.py
code served (permissive licence) · get_code("a3448702d6025ce6")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function takes two parameters:
# 1. var_name: a string representing a variable name
# 2. num_max_layer: an integer representing the maximum number of layers

# Based on the function body, var_name is checked against various patterns
# and num_max_layer is used as a fallback return value

ARGS = {
    'var_name': 'blocks.5.weight',
    'num_max_layer': 12
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_parameter_groups Ran
ran; our contract draft was wrong, not the code
wgcban/adamae/optim_factory.py
pointer only (licence: MIT); the stored copy get_code serves, from boyazeng/understand_bias, is pointer only (licence: NONE) · get_code("0ef0019514eaaa09")
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 boyazeng/understand_bias, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_resize_sizes Ran
ran, honoured the contract we drafted
wgcban/adamae/functional.py
code served (permissive licence) · get_code("2b53e457d5632b4e")
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 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 numpy as np

# Analyze the function: get_resize_sizes takes im_h (image height), 
# im_w (image width), and size (a target dimension). It uses basic 
# arithmetic operations on these numeric values and returns a tuple.

torch.manual_seed(0)

# Create simple numeric arguments
im_h = 480  # image height - distinct value
im_w = 640  # image width - distinct value
size = 256  # target resize dimension - distinct value

ARGS = {
    "im_h": im_h,
    "im_w": im_w,
    "size": size,
}
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 1, 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
greet Ran
ran on a synthesized input
Nithin-GK/UniteandConquer/gradio_set.py
code served (permissive licence) · get_code("95f14a0c91022fc2")
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 = {
    'name': 'World'
}
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
resize_clip Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wgcban/adamae/functional.py
code served (permissive licence) · get_code("981936c73d3cdd12")
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 4, 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 numbers
import cv2
import numpy as np
import PIL
from PIL import Image

# Create a small numpy array clip (list of frames)
frame1 = np.random.randint(0, 256, (480, 640, 3), dtype=np.uint8)
frame2 = np.random.randint(0, 256, (480, 640, 3), dtype=np.uint8)
np_clip = [frame1, frame2]

# Create a PIL Image clip
pil_frame1 = Image.fromarray(np.random.randint(0, 256, (480, 640, 3), dtype=np.uint8))
pil_frame2 = Image.fromarray(np.random.randint(0, 256, (480, 640, 3), dtype=np.uint8))
pil_clip = [pil_frame1, pil_frame2]

ARGS = {
    'clip': np_clip,
    'size': 256,
    'interpolation': 'bilinear'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 4, 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
shear_x Ran
ran; our contract draft was wrong, not the code
wgcban/adamae/rand_augment.py
code served (permissive licence) · get_code("e866e1196986f728")
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 Image. 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 random
import PIL
from PIL import Image, ImageEnhance, ImageOps

# Create a simple PIL Image object
img = Image.new('RGB', (100, 100), color='red')

# Define ARGS dict with all parameters for shear_x
ARGS = {
    'img': img,
    'factor': 0.5,
    'resample': Image.BILINEAR,
    'fillcolor': (255, 255, 255)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
shear_y Ran
ran; our contract draft was wrong, not the code
wgcban/adamae/rand_augment.py
code served (permissive licence) · get_code("7b2503c99c9447fb")
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 Image. 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 random
import PIL
from PIL import Image, ImageEnhance, ImageOps

# Create a simple PIL Image for testing
img = Image.new('RGB', (100, 100), color='red')

# Define ARGS dict with all parameters for shear_y function
ARGS = {
    'img': img,
    'factor': 0.5,
    'resample': Image.BILINEAR,
    'fillcolor': (255, 255, 255)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
softmax_helper Ran
ran; our contract draft was wrong, not the code
wgcban/adamae/msc/losses.py
pointer only (licence: MIT); the stored copy get_code serves, from szc19990412/TransMIL, is pointer only (licence: NONE) · get_code("c66339fca70da624")
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 szc19990412/TransMIL, 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.

tensor_normalize Ran
ran, honoured the contract we drafted
wgcban/adamae/kinetics.py
pointer only (licence: MIT); the stored copy get_code serves, from kangsankim07/videoicl, is pointer only (licence: NONE) · get_code("14b3b13b2e7ee844")
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 kangsankim07/videoicl, 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.

train_class_batch Ran
ran; our contract draft was wrong, not the code
wgcban/adamae/msc/engine_for_finetuning.py
pointer only (licence: MIT); the stored copy get_code serves, from kangsankim07/videoicl, is pointer only (licence: NONE) · get_code("c7976ea27edc377a")
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 kangsankim07/videoicl, 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.

translate_x_rel Ran
ran; our contract draft was wrong, not the code
wgcban/adamae/rand_augment.py
code served (permissive licence) · get_code("323759f906fbb394")
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 Image. 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 random
import PIL
from PIL import Image
import numpy as np

# Create a small PIL Image object for testing
# The function uses img.size[0] and img.transform()
test_img = Image.new('RGB', (100, 80), color='red')

# Define ARGS dict with all parameters for translate_x_rel
ARGS = {
    'img': test_img,
    'pct': 0.2,
    'resample': Image.BILINEAR,
    'fillcolor': (255, 255, 255)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
zero_module Ran
ran; our contract draft was wrong, not the code
Nithin-GK/UniteandConquer/class_utils/nn.py
code served (permissive licence) · get_code("129b804760b3115f")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

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

module = SimpleModule()

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

ARGS = {
    "module": module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
avg_pool_nd Not yet run
unverified (harvested, no recorded run)
Nithin-GK/UniteandConquer/class_utils/nn.py
code served (permissive licence) · get_code("ecd0fc28815b65ae")
How it ran

no invocation recorded.

class_find Not yet run
unverified (harvested, no recorded run)
Nithin-GK/UniteandConquer/gradio_set.py
code served (permissive licence) · get_code("d046b61348049e13")
How it ran

no invocation recorded.

conv_nd Not yet run
unverified (harvested, no recorded run)
Nithin-GK/UniteandConquer/class_utils/nn.py
code served (permissive licence) · get_code("fe4eb545bbb728e0")
How it ran

no invocation recorded.

create_model Not yet run
unverified (harvested, no recorded run)
Nithin-GK/UniteandConquer/class_utils/script_util.py
code served (permissive licence) · get_code("2234d67e4ed38722")
How it ran

no invocation recorded.

fetch_file_cached Not yet run
unverified (harvested, no recorded run)
Nithin-GK/UniteandConquer/utils/download_models_func.py
code served (permissive licence) · get_code("3081b94d2db18290")
How it ran

no invocation recorded.

get_confirm_token Not yet run
unverified (harvested, no recorded run)
Nithin-GK/UniteandConquer/utils/download_models_func.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from med-air/FedBN, is pointer only (licence: NONE) · get_code("135b3dc835ffe6ad")
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 med-air/FedBN, 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.

get_model Not yet run
unverified (harvested, no recorded run)
wgcban/adamae/pretrain_mae_vit.py
code served (permissive licence) · get_code("cd41abe0ddd75bc6")
How it ran

no invocation recorded.

Also present in other papers' code

Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 distinct functions with an identity, 18 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 5 the same month, 18 later) and 7 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
zero_module 196 other papers
22 dated earlier, 3 the same month, 171 later · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
conv_nd 121 other papers
20 dated earlier, 3 the same month, 98 later · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
avg_pool_nd 113 other papers
21 dated earlier, 3 the same month, 89 later · 31 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
and 110 more not named here
get_confirm_token 38 other papers
30 dated earlier, 8 later
1409.8230 (2014-09)
RENOIR - A Dataset for Real Low-Light Image Noise Reduction
1503.03832 (2015-03)
FaceNet: A Unified Embedding for Face Recognition and Clustering
1506.03134 (2015-06)
Pointer Networks
and 35 more not named here
shear_x 27 other papers
7 dated earlier, 18 later, 2 same year, order not determinable
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 24 more not named here
shear_y 27 other papers
7 dated earlier, 18 later, 2 same year, order not determinable
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 24 more not named here
translate_x_rel 26 other papers
7 dated earlier, 17 later, 2 same year, order not determinable
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 23 more not named here
get_parameter_groups 18 other papers
1 dated earlier, 1 the same month, 14 later, 2 same year, order not determinable
1905.02244 (2019-05)
Searching for MobileNetV3
136810051 (2022 (year only))
AMixer: Adaptive Weight Mixing for Self-Attention Free Vision Transformers
136860514 (2022 (year only))
SLIP: Self-supervision meets Language-Image Pre-training
and 15 more not named here
get_loss_scale_for_deepspeed 15 other papers
1 dated earlier, 14 later
2203.14415 (2022-03)
Mugs: A Multi-Granular Self-Supervised Learning Framework
2212.10368 (2022-12)
Masked Event Modeling: Self-Supervised Pretraining for Event Cameras
2303.16058 (2023-03)
Unmasked Teacher: Towards Training-Efficient Video Foundation Models
and 12 more not named here
tensor_normalize 15 other papers
1 dated earlier, 14 later
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
2307.02227 (2023-07)
MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition
2308.04549 (2023-08)
Prune Spatio-temporal Tokens by Semantic-aware Temporal Accumulation
and 12 more not named here
crop_clip 13 other papers
3 dated earlier, 10 later
2112.02815 (2021-12)
Make It Move: Controllable Image-to-Video Generation with Text Descriptions
2209.10340 (2022-09)
FNeVR: Neural Volume Rendering for Face Animation
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
and 10 more not named here
train_class_batch 11 other papers
1 dated earlier, 10 later
2203.14415 (2022-03)
Mugs: A Multi-Granular Self-Supervised Learning Framework
2212.10368 (2022-12)
Masked Event Modeling: Self-Supervised Pretraining for Event Cameras
2307.02227 (2023-07)
MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition
and 8 more not named here
get_resize_sizes 10 other papers
1 dated earlier, 9 later
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
2307.02227 (2023-07)
MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition
2308.04549 (2023-08)
Prune Spatio-temporal Tokens by Semantic-aware Temporal Accumulation
and 7 more not named here
resize_clip 9 other papers
1 dated earlier, 8 later
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
2307.02227 (2023-07)
MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition
2308.04549 (2023-08)
Prune Spatio-temporal Tokens by Semantic-aware Temporal Accumulation
and 6 more not named here
get_num_layer_for_vit 8 other papers
1 dated earlier, 6 later, 1 same year, order not determinable
136860514 (2022 (year only))
SLIP: Self-supervision meets Language-Image Pre-training
2209.03917 (2022-09)
Exploring Target Representations for Masked Autoencoders
2212.10368 (2022-12)
Masked Event Modeling: Self-Supervised Pretraining for Event Cameras
and 5 more not named here
args_to_dict 5 other papers
1 the same month, 4 later
2211.15388 (2022-11)
Shifted Diffusion for Text-to-image Generation
Liu_DOLCE_A_Model-Based_Probabilistic_Diffusion_Framework_for_Limited-Angle_CT_Reconstruction_ICCV_2023_paper (2023 (year only))
DOLCE: A Model-Based Probabilistic Diffusion Framework for Limited-Angle CT Reconstruction
2312.02139 (2023-12)
DiffiT: Diffusion Vision Transformers for Image Generation
and 2 more not named here
softmax_helper 2 other papers
1 later, 1 same year, order not determinable
Liu_Perturbed_and_Strict_Mean_Teachers_for_Semi-Supervised_Semantic_Segmentation_CVPR_2022_paper (2022 (year only))
Perturbed and Strict Mean Teachers for Semi-supervised Semantic Segmentation
2602.01951 (2026-02)
Enabling Progressive Whole-slide Image Analysis with Multi-scale Pyramidal Network
fetch_file_cached 1 other paper
1 later
2310.00224 (2023-10)
Steered Diffusion: A Generalized Framework for Plug-and-Play Conditional Image Synthesis

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

Masked Autoencoders (MAEs) learn generalizable representations for image, text, audio, video, etc., by reconstructing masked input data from tokens of the visible data. Current MAE approaches for videos rely on random patch, tube, or frame-based masking strategies to select these tokens. This paper proposes AdaMAE, an adaptive masking strategy for MAEs that is end-to-end trainable. Our adaptive masking strategy samples visible tokens based on the semantic context using an auxiliary sampling network. This network estimates a categorical distribution over spacetime-patch tokens. The tokens that increase the expected reconstruction error are rewarded and selected as visible tokens, motivated by the policy gradient algorithm in reinforcement learning. We show that AdaMAE samples more tokens from the high spatiotemporal information regions, thereby allowing us to mask 95% of tokens, resulting in lower memory requirements and faster pre-training. We conduct ablation studies on the Something-Something v2 (SSv2) dataset to demonstrate the efficacy of our adaptive sampling approach and report state-of-the-art results of 70.0% and 81.7% in top-1 accuracy on SSv2 and Kinetics-400 action classification datasets with a ViT-Base backbone and 800 pre-training epochs.

For agents

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

get_harvested_code_for_paper("2211.09120")
get_code_for_paper("2211.09120")
have("2211.09120")

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

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

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

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

Connect an agent — have() is free.