SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper · CVPR · 2023

TINC: Tree-structured Implicit Neural Compression

Runzhao Yang

Open in the Atlas

Code that ran

16 of 18 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 11 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper.json · badge: /api/ran/Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
RichealYoung/TINC canonical (classifier label)
classifier basis: census
16 ran · 2 no recorded run
FunctionStatusWhere it lives
Activation Ran
ran on a synthesized input
RichealYoung/TINC/utils/Network.py
code served (permissive licence) · get_code("dd39b81c29fff0ab")
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 Sine. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    'act': 'Sine',
    'w0': 30
}
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 Sine — a Sine output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sine 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
cal_hidden_output Ran
ran on a synthesized input
RichealYoung/TINC/utils/OctTree.py
code served (permissive licence) · get_code("554baac3e5c693d1")
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 math

def cal_hidden_output(param, layer, input, output: int=None):
    if output != None:
        if layer >= 2:
            a, b, c = (layer - 2, input + layer - 1 + output, output - param)
        else:
            raise Exception('There is only one layer, and hidden layers cannot be calculated!')
    else:
        a, b, c = (layer - 1, input + layer, -param)
    if a != 0:
        hidden = int((-b + math.sqrt(b ** 2 - 4 * a * c)) / (2 * a))
    else:
        hidden = int(-c / b)
    if hidden < 1:
        hidden = 1
    if output == None:
        output = hidden
    return (hidden, output)

# Setup valid arguments for cal_hidden_output
ARGS = {
    'param': 100,
    'layer': 3,
    'input': 50,
    'output': 200
}
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 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
cal_iou_acc_pre Ran
ran on a synthesized input
RichealYoung/TINC/utils/metrics.py
code served (permissive licence) · get_code("0bfb615a6a48675b")
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 numpy as np

# Create small numpy arrays for ground truth and predictions
# The function applies thresholding to both arrays and computes IoU, accuracy, and precision
data_gt = np.array([
    [0.0, 0.5, 0.8, 1.0],
    [0.2, 0.9, 0.1, 0.7]
], dtype=np.float32)

data_hat = np.array([
    [0.1, 0.6, 0.9, 0.95],
    [0.15, 0.85, 0.05, 0.75]
], dtype=np.float32)

thres = 0.5

ARGS = {
    "data_gt": data_gt,
    "data_hat": data_hat,
    "thres": thres
}
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, 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
cal_psnr Ran
ran on a synthesized input
RichealYoung/TINC/utils/metrics.py
code served (permissive licence) · get_code("cf5d98cb431333f8")
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 float32, 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 numpy as np

# Create small test arrays for ground truth and predicted data
data_gt = np.random.rand(2, 4).astype(np.float32)
data_hat = np.random.rand(2, 4).astype(np.float32)

# data_range is used to normalize the data before calculating MSE
data_range = 1.0

ARGS = {
    "data_gt": data_gt,
    "data_hat": data_hat,
    "data_range": data_range,
}
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 float32, 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
create_flattened_coords Ran
ran on a synthesized input
RichealYoung/TINC/utils/Sampler.py
code served (permissive licence) · get_code("6532447abc232f3b")
How it ran

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

import torch
from typing import Tuple

torch.manual_seed(0)

# The function takes coords_shape which is a Tuple of 3 integers
# representing dimensions for creating a 3D coordinate grid
# The function creates a meshgrid with these dimensions and returns flattened coordinates

coords_shape = (2, 3, 4)  # Small 3D shape with distinct dimensions

ARGS = {
    "coords_shape": coords_shape
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (24, 3) — shape (24, 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
create_lr_scheduler Ran
ran; our contract draft was wrong, not the code
RichealYoung/TINC/utils/Sampler.py
code served (permissive licence) · get_code("186c6a95567e4d5d")
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 MultiStepLR. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.optim as optim
import copy

torch.manual_seed(0)

# Create a simple model
model = nn.Linear(4, 3)

# Create an optimizer
optimizer = optim.SGD(model.parameters(), lr=0.1)

# Create lr_scheduler_opt dict with 'MultiStepLR' configuration
lr_scheduler_opt = {
    'name': 'MultiStepLR',
    'milestones': [10, 20],
    'gamma': 0.1
}

ARGS = {
    'optimizer': optimizer,
    'lr_scheduler_opt': lr_scheduler_opt
}
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 MultiStepLR — a MultiStepLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MultiStepLR 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
create_optim Ran
ran; our contract draft was wrong, not the code
RichealYoung/TINC/utils/Sampler.py
pointer only (licence: MIT); the stored copy get_code serves, from harrypotterxtx/hope, is pointer only (licence: NONE) · get_code("553590ed9758f52c")
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 harrypotterxtx/hope, 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.

dict2dotlist_list Ran
ran on a synthesized input
RichealYoung/TINC/utils/misc.py
code served (permissive licence) · get_code("c89fc9b698349635")
How it ran

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

import torch
from itertools import product

torch.manual_seed(0)

# The function dict2dotlist_list takes a single parameter: optdict
# Looking at the function body:
# - It checks if 'PRODUCT' key exists in optdict.keys()
# - It checks if 'CONCAT' key exists in optdict.keys()
# - Otherwise it iterates through optdict.items() and creates dotlist entries
# So optdict should be a dictionary with string keys and various values

# Test case 1: Simple dict with key-value pairs
simple_dict = {
    'learning_rate': 0.001,
    'batch_size': 32,
    'epochs': 10
}

# Test case 2: Dict with PRODUCT key
product_dict = {
    'PRODUCT': [
        {'lr': 0.001, 'bs': 16},
        {'optimizer': 'adam', 'loss': 'mse'}
    ]
}

# Test case 3: Dict with CONCAT key
concat_dict = {
    'CONCAT': [
        {'param1': 'value1'},
        {'param2': 'value2'}
    ]
}

# Test case 4: Nested structure
nested_dict = {
    'PRODUCT': [
        {'layer1_size': 64},
        {'activation': 'relu', 'dropout': 0.5}
    ]
}

# For the basic function call, use a simple dictionary
ARGS = {
    'optdict': {
        'learning_rate': 0.001,
        'batch_size': 32,
        'model_name': 'transformer'
    }
}
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 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gaussian_filter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
RichealYoung/TINC/utils/ssim.py
code served (permissive licence) · get_code("aff2d226c2edfa22")
How it ran

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

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Construct a 4D input tensor (batch=2, channels=3, height=4, width=5)
input_4d = torch.randn(2, 3, 4, 5)

# Construct a 1D Gaussian kernel
# The kernel needs shape (C, 1, 1, kernel_size) for 4D input
# where C is the number of channels
C = 3
kernel_size = 3
win = torch.randn(C, 1, 1, kernel_size)

ARGS = {
    "input": input_4d,
    "win": win,
}
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 4, dtype family float, shape (2, 3, 2, 3) — shape (2, 3, 2, 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
get_folder_size Ran
ran on a synthesized input
RichealYoung/TINC/utils/tool.py
code served (permissive licence) · get_code("123b9b749ddc3978")
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 os
import tempfile
import shutil

# Create a temporary directory with some test files
temp_dir = tempfile.mkdtemp()

# Create a couple of files with some content
with open(os.path.join(temp_dir, "file1.txt"), "w") as f:
    f.write("test content 1")

with open(os.path.join(temp_dir, "file2.txt"), "w") as f:
    f.write("test content 2 longer")

# Create a subdirectory with a file
subdir = os.path.join(temp_dir, "subdir")
os.makedirs(subdir)
with open(os.path.join(subdir, "file3.txt"), "w") as f:
    f.write("file in subdirectory")

ARGS = {
    "folder_path": temp_dir
}
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 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
invnormalize_data Ran
ran on a synthesized input
RichealYoung/TINC/utils/OctTree.py
code served (permissive licence) · get_code("3b6e5945210f5fd3")
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 (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 normalized data array
data = np.array([0.2, 0.4, 0.6, 0.8], dtype=np.float32)

# Define the scaling parameters
scale_min = 0.0
scale_max = 1.0

# Define the data range parameters
data_min = -10.0
data_max = 10.0

# Define the output dtype
dtype = np.float32

ARGS = {
    "data": data,
    "scale_min": scale_min,
    "scale_max": scale_max,
    "data_min": data_min,
    "data_max": data_max,
    "dtype": dtype
}
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 (4,) — shape (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
normalize_data Ran
ran on a synthesized input
RichealYoung/TINC/utils/OctTree.py
code served (permissive licence) · get_code("d25dac8ffbda7279")
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)

# Construct a small numpy array with mixed values for testing normalization
data = np.array([[1.0, 2.0, 3.0, 4.0],
                 [5.0, 6.0, 7.0, 8.0]], dtype=np.float32)

scale_min = -1.0
scale_max = 1.0

ARGS = {
    'data': data,
    'scale_min': scale_min,
    'scale_max': scale_max
}
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
omegaconf2dotlist Ran
ran on a synthesized input
RichealYoung/TINC/utils/misc.py
code served (permissive licence) · get_code("d7c138002e8a5298")
How it ran

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

import omegaconf
from omegaconf import DictConfig, ListConfig

# Create a test OmegaConf configuration
test_config = DictConfig({
    'model': DictConfig({
        'name': 'test_model',
        'layers': 3,
        'learning_rate': 0.001,
    }),
    'data': DictConfig({
        'batch_size': 32,
        'shuffle': True,
        'path': '/data/train',
    }),
    'training': DictConfig({
        'epochs': 100,
        'optimizer': 'adam',
        'loss_fn': None,
        'augmentation': ListConfig([0.1, 0.2, 0.3]),
    }),
    'simple_int': 42,
    'simple_float': 3.14,
    'simple_str': 'test',
    'simple_none': None,
})

ARGS = {
    'opt': test_config,
    'prefix': '',
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
omegaconf — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
omegaconf2list Ran
ran; our contract draft was wrong, not the code
RichealYoung/TINC/utils/misc.py
code served (permissive licence) · get_code("9ccb56dca412ccb9")
How it ran

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

import omegaconf
from omegaconf import DictConfig, ListConfig

# Create a nested DictConfig structure for testing
nested_config = DictConfig({
    'learning_rate': 0.001,
    'batch_size': 32,
    'model_name': 'resnet50',
    'dropout': None,
    'layers': ListConfig([1, 2, 3, 4]),
    'optimizer': DictConfig({
        'type': 'adam',
        'weight_decay': 1e-5,
        'momentum': None,
        'schedule': ListConfig(['linear', 'cosine'])
    })
})

ARGS = {
    'opt': nested_config,
    'prefix': '',
    'sep': '.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
omegaconf — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_img Ran
ran on a synthesized input
RichealYoung/TINC/utils/tool.py
code served (permissive licence) · get_code("703d32f89cb1bf08")
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 4, dtype family int, shape (4, 3, 2, 1) 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 os
import tempfile
import numpy as np
import cv2
import tifffile

# Create temporary directory for test files
tmpdir = tempfile.mkdtemp()

# Create a test TIFF file (4D: H x W x C x 1)
tiff_path = os.path.join(tmpdir, "test.tif")
tiff_data = np.random.randint(0, 256, (4, 3, 2), dtype=np.uint8)
tifffile.imwrite(tiff_path, tiff_data)

# Create a test PNG file (3D: H x W x C)
png_path = os.path.join(tmpdir, "test.png")
png_data = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
cv2.imwrite(png_path, png_data)

# Create a test grayscale PNG (2D: H x W, will be expanded to 3D)
gray_png_path = os.path.join(tmpdir, "test_gray.png")
gray_data = np.random.randint(0, 256, (4, 3), dtype=np.uint8)
cv2.imwrite(gray_png_path, gray_data)

ARGS = {
    "path": tiff_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, tifffile — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family int, shape (4, 3, 2, 1) — shape (4, 3, 2, 1) 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
ssim Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
RichealYoung/TINC/utils/ssim.py
code served (permissive licence) · get_code("87b8be6867a5c76c")
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 as nn

torch.manual_seed(0)

# Create two small batch of images (N, C, H, W)
# Using distinct sizes: 2 batches, 3 channels, 4 height, 5 width
X = torch.rand(2, 3, 4, 5, dtype=torch.float32)
Y = torch.rand(2, 3, 4, 5, dtype=torch.float32)

# Create a 1-D Gaussian kernel for win parameter
# This is optional but we'll test with it
win_size = 11
win_sigma = 1.5
coords = torch.arange(win_size).to(dtype=torch.float32)
coords -= win_size // 2
g = torch.exp(-coords ** 2 / (2 * win_sigma ** 2))
g /= g.sum()
win = g.unsqueeze(0).unsqueeze(0)
# Expand to match number of channels
win = win.repeat([3] + [1] * 3)

ARGS = {
    'X': X,
    'Y': Y,
    'data_range': 255,
    'size_average': True,
    'win_size': 11,
    'win_sigma': 1.5,
    'win': win,
    'K': (0.01, 0.03),
    'nonnegative_ssim': 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 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_type_max Not yet run
unverified (harvested, no recorded run)
RichealYoung/TINC/utils/tool.py
code served (permissive licence) · get_code("bc7e5e9e41948b36")
How it ran

no invocation recorded.

ms_ssim Not yet run
unverified (harvested, no recorded run)
RichealYoung/TINC/utils/ssim.py
code served (permissive licence) · get_code("22ea7e9167c99736")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 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, 3 later) and 13 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
gaussian_filter 2 other papers
1 later, 1 same year, order not determinable
Wang_MCF_Mutual_Correction_Framework_for_Semi-Supervised_Medical_Image_Segmentation_CVPR_2023_paper (2023 (year only))
MCF: Mutual Correction Framework for Semi-Supervised Medical Image Segmentation
2409.05122 (2024-09)
PMT: Progressive Mean Teacher via Exploring Temporal Consistency for Semi-Supervised Medical Image Segmentation
ssim 2 other papers
1 later, 1 same year, order not determinable
Wang_MCF_Mutual_Correction_Framework_for_Semi-Supervised_Medical_Image_Segmentation_CVPR_2023_paper (2023 (year only))
MCF: Mutual Correction Framework for Semi-Supervised Medical Image Segmentation
2409.05122 (2024-09)
PMT: Progressive Mean Teacher via Exploring Temporal Consistency for Semi-Supervised Medical Image Segmentation
create_lr_scheduler 1 other paper
1 same year, order not determinable
2307.08192 (2023-07)
HOPE: High-order Polynomial Expansion of Black-box Neural Networks
create_optim 1 other paper
1 same year, order not determinable
2307.08192 (2023-07)
HOPE: High-order Polynomial Expansion of Black-box Neural Networks
omegaconf2list 1 other paper
1 later
ijcai2024_0790 (2024 (year only))
CausalNET: Unveiling Causal Structures on Event Sequences by Topology-Informed Causal Attention

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

Implicit neural representation (INR) can describe the target scenes with high fidelity using a small number of parameters, and is emerging as a promising data compression technique. However, limited spectrum coverage is intrinsic to INR, and it is non-trivial to remove redundancy in diverse complex data effectively. Preliminary studies can only exploit either global or local correlation in the target data and thus of limited performance. In this paper, we propose a Tree-structured Implicit Neural Compression (TINC) to conduct compact representation for local regions and extract the shared features of these local representations in a hierarchical manner. Specifically, we use Multi-Layer Perceptrons (MLPs) to fit the partitioned local regions, and these MLPs are organized in tree structure to share parameters according to the spatial distance. The parameter sharing scheme not only ensures the continuity between adjacent regions, but also jointly removes the local and non-local redundancy. Extensive experiments show that TINC improves the compression fidelity of INR, and has shown impressive compression capabilities over commercial tools and other deep learning based methods. Besides, the approach is of high flexibility and can be tailored for different data and parameter settings. The source code can be found at https://github.com/RichealYoung/TINC.

For agents

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

get_harvested_code_for_paper("Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper")
get_code_for_paper("Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper")
have("Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper")

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

curl https://syntology.ai/api/ran/Yang_TINC_Tree-Structured_Implicit_Neural_Compression_CVPR_2023_paper.json

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

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

Connect an agent — have() is free.