SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.10211 · 2019

PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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; 1 honoured the contract we drafted, 1 violated it and 9 have no contract verdict; 3 failures of our instrument; 2 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/1912.10211.json · badge: /api/ran/1912.10211.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
qiuqiangkong/audioset_tagging_cnn canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
sithu31296/audio-tagging community (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
FunctionStatusWhere it lives
clip_bce Ran
ran, honoured the contract we drafted
qiuqiangkong/audioset_tagging_cnn/pytorch/losses.py
code served (permissive licence) · get_code("d051ddaa6aa3a0ee")
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)

# The function expects two dicts:
# - output_dict with key 'clipwise_output' containing model predictions
# - target_dict with key 'target' containing binary targets

# Create output_dict with clipwise_output tensor
# binary_cross_entropy expects float predictions in [0, 1] range
clipwise_output = torch.sigmoid(torch.randn(2, 4))  # batch_size=2, num_classes=4
output_dict = {'clipwise_output': clipwise_output}

# Create target_dict with target tensor
# binary_cross_entropy expects binary targets (0 or 1)
target = torch.randint(0, 2, (2, 4)).float()  # batch_size=2, num_classes=4
target_dict = {'target': target}

ARGS = {
    'output_dict': output_dict,
    'target_dict': target_dict,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
collate_fn Ran
ran; our contract draft was wrong, not the code
qiuqiangkong/audioset_tagging_cnn/utils/data_generator.py
code served (permissive licence) · get_code("3e405654b0944236")
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 numpy as np

# Create sample data dictionaries with audio_name and waveform
list_data_dict = [
    {
        'audio_name': 'audio_1.wav',
        'waveform': np.array([0.1, 0.2, 0.3, 0.4], dtype=np.float32),
        'label': 1
    },
    {
        'audio_name': 'audio_2.wav',
        'waveform': np.array([0.5, 0.6, 0.7, 0.8], dtype=np.float32),
        'label': 0
    }
]

ARGS = {
    'list_data_dict': list_data_dict
}
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 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
count_parameters Ran
ran on a synthesized input
sithu31296/audio-tagging/utils/utils.py
code served (permissive licence) · get_code("2376b34dc0f7c346")
How it ran

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

import torch
from torch import nn

torch.manual_seed(0)

# Create a small model with some trainable parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
do_mixup Ran
ran, violated the contract we drafted
qiuqiangkong/audioset_tagging_cnn/pytorch/pytorch_utils.py
code served (permissive licence) · get_code("b488d4a95f800c00")
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 3, dtype family float, shape (2, 3, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create valid arguments for do_mixup function
# x should have shape (batch_size * 2, ...)
# mixup_lambda should have shape (batch_size * 2,)

batch_size = 2
# x will have shape (4, 3, 5) - batch_size * 2 = 4, with additional dimensions
x = torch.randn(4, 3, 5)

# mixup_lambda will have shape (4,) - batch_size * 2 = 4
mixup_lambda = torch.rand(4)

ARGS = {
    "x": x,
    "mixup_lambda": mixup_lambda,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 5) — shape (2, 3, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_loss Ran
ran on a synthesized input
sithu31296/audio-tagging/utils/losses.py
code served (permissive licence) · get_code("a70ac1a79860cc57")
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 CrossEntropy. 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, Tensor

torch.manual_seed(0)

# Test all available loss function names
ARGS = {
    'loss_fn_name': 'ce'
}
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 CrossEntropy — a CrossEntropy output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a CrossEntropy 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
get_loss_func Ran
ran; our contract draft was wrong, not the code
qiuqiangkong/audioset_tagging_cnn/pytorch/losses.py
code served (permissive licence) · get_code("a79c3eb46da2b363")
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 function. 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.nn.functional as F

torch.manual_seed(0)

# The function get_loss_func takes loss_type as a parameter
# When loss_type == 'clip_bce', it returns the clip_bce function
# clip_bce expects output_dict with 'clipwise_output' key and target_dict with 'target' key
# Both should be tensors suitable for F.binary_cross_entropy (float tensors with values in [0, 1])

loss_type = 'clip_bce'

ARGS = {
    'loss_type': loss_type
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
get_optimizer Ran
ran on a synthesized input
sithu31296/audio-tagging/utils/optimizers.py
code served (permissive licence) · get_code("e7ec50eb80597850")
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 AdamW. 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
from torch.optim import AdamW

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        # Mix of 1D and multi-dimensional parameters
        self.linear1 = nn.Linear(4, 3)  # weight is (3, 4), bias is (3,)
        self.linear2 = nn.Linear(3, 2)  # weight is (2, 3), bias is (2,)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    'model': model,
    'optimizer': 'adamw',
    'lr': 0.001,
    'weight_decay': 0.01,
}
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 AdamW — a AdamW output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a AdamW 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
get_scheduler Ran
ran on a synthesized input
sithu31296/audio-tagging/utils/schedulers.py
code served (permissive licence) · get_code("d966b9be6af68778")
How it ran

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

import torch
import torch.nn as nn
from torch.optim import SGD

torch.manual_seed(0)

# Create a minimal model for the optimizer
model = nn.Linear(4, 3)

# Create an optimizer (required by get_scheduler)
optimizer = SGD(model.parameters(), lr=0.1)

# Create the config dict with scheduler parameters
cfg = {
    'SCHEDULER': {
        'NAME': 'steplr',
        'PARAMS': [10, 0.5]  # step_size=10, gamma=0.5
    }
}

ARGS = {
    'cfg': cfg,
    'optimizer': optimizer
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type StepLR — a StepLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a StepLR output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
interpolate Ran
ran on a synthesized input
sithu31296/audio-tagging/models/cnn14.py
code served (permissive licence) · get_code("5b197f92e336b6c7")
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 3, dtype family float, shape (2, 6, 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 torch

torch.manual_seed(0)

# Construct arguments for the interpolate function
x = torch.randn(2, 3, 4)  # B=2, T=3, C=4
ratio = 2

ARGS = {
    "x": x,
    "ratio": ratio,
}
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 3, dtype family float, shape (2, 6, 4) — shape (2, 6, 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
mixup_augment Ran
ran on a synthesized input
sithu31296/audio-tagging/datasets/transforms.py
code served (permissive licence) · get_code("4510c24e528ea1bf")
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)

# Create small audio tensors (batch_size=2, audio_dim=4)
audio1 = torch.randn(2, 4)
audio2 = torch.randn(2, 4)

# Create target tensors (class indices, batch_size=2)
target1 = torch.tensor([5], dtype=torch.long)
target2 = torch.tensor([12], dtype=torch.long)

# Parameters
alpha = 10
num_classes = 50
smoothing = 0.1

ARGS = {
    "audio1": audio1,
    "target1": target1,
    "audio2": audio2,
    "target2": target2,
    "alpha": alpha,
    "num_classes": num_classes,
    "smoothing": smoothing
}
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
move_data_to_device Ran
ran; our contract draft was wrong, not the code
qiuqiangkong/audioset_tagging_cnn/pytorch/pytorch_utils.py
code served (permissive licence) · get_code("6e703419174005ee")
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 (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small float tensor
x_float = torch.randn(2, 4, dtype=torch.float32)

# Create device (CPU only)
device = torch.device('cpu')

ARGS = {
    'x': x_float,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_framewise Ran
ran on a synthesized input
sithu31296/audio-tagging/models/cnn14.py
code served (permissive licence) · get_code("91592112bbcf4758")
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 3, dtype family float, shape (2, 5, 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 torch

torch.manual_seed(0)

# framewise: a 3D tensor with shape (batch, time_steps, features)
# The function accesses framewise[:, -1:, :] to get the last frame
# and repeats it (num_frames - framewise.shape[1]) times
# then concatenates along dim=1

# Create a small framewise tensor
# Shape: (batch=2, current_frames=3, features=4)
framewise = torch.randn(2, 3, 4)

# num_frames: an integer representing the target number of frames
# The function pads to reach this number
num_frames = 5

ARGS = {
    "framewise": framewise,
    "num_frames": num_frames,
}
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 3, dtype family float, shape (2, 5, 4) — shape (2, 5, 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
read_black_list Ran
ran on a synthesized input
qiuqiangkong/audioset_tagging_cnn/utils/data_generator.py
code served (permissive licence) · get_code("175ae0516204fc91")
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 csv
import tempfile
import os

# Create a temporary CSV file with test data
temp_dir = tempfile.mkdtemp()
black_list_csv = os.path.join(temp_dir, 'black_list.csv')

# Write test data to the CSV file
with open(black_list_csv, 'w', newline='') as fw:
    writer = csv.writer(fw)
    writer.writerow(['001'])
    writer.writerow(['002'])
    writer.writerow(['003'])

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

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

import torch
from torch import nn, Tensor

torch.manual_seed(0)

# Create a simple model that can accept an input tensor
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Instantiate the model
model = SimpleModel()

# Create a tiny input tensor (batch_size=2, features=4)
inputs = torch.randn(2, 4)

# use_cuda parameter - set to False since we're CPU only
use_cuda = False

ARGS = {
    'model': model,
    'inputs': inputs,
    'use_cuda': use_cuda
}
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 float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
forward Not yet run
unverified (harvested, no recorded run)
qiuqiangkong/audioset_tagging_cnn/pytorch/pytorch_utils.py
code served (permissive licence) · get_code("3a101004e6f0c3e0")
How it ran

no invocation recorded.

get_model_size Not yet run
unverified (harvested, no recorded run)
sithu31296/audio-tagging/utils/utils.py
code served (permissive licence) · get_code("93c4d29ae02a17c2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 4 the same month, 5 later) and 10 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
do_mixup 8 other papers
8 later
2305.11834 (2023-05)
Pengi: An Audio Language Model for Audio Tasks
2309.05767 (2023-09)
Natural Language Supervision for General-Purpose Audio Representations
2402.00282 (2024-02)
PAM: Prompting Audio-Language Models for Audio Quality Assessment
and 5 more not named here
move_data_to_device 5 other papers
1 the same month, 4 later
1912.04761 (2019-12)
Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization
2309.05767 (2023-09)
Natural Language Supervision for General-Purpose Audio Representations
2402.00282 (2024-02)
PAM: Prompting Audio-Language Models for Audio Quality Assessment
and 2 more not named here
clip_bce 2 other papers
1 the same month, 1 later
1912.04761 (2019-12)
Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization
2301.12503 (2023-01)
AudioLDM: Text-to-Audio Generation with Latent Diffusion Models
forward 2 other papers
2 later
2403.17508 (2024-03)
Correlation of Fréchet Audio Distance With Human Perception of Environmental Audio Is Embedding Dependant
2606.20457 (2026-06)
Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generation
get_loss_func 2 other papers
1 the same month, 1 later
1912.04761 (2019-12)
Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization
2301.12503 (2023-01)
AudioLDM: Text-to-Audio Generation with Latent Diffusion Models
collate_fn 1 other paper
1 the same month
1912.04761 (2019-12)
Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization

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

Audio pattern recognition is an important research topic in the machine learning area, and includes several tasks such as audio tagging, acoustic scene classification, music classification, speech emotion classification and sound event detection. Recently, neural networks have been applied to tackle audio pattern recognition problems. However, previous systems are built on specific datasets with limited durations. Recently, in computer vision and natural language processing, systems pretrained on large-scale datasets have generalized well to several tasks. However, there is limited research on pretraining systems on large-scale datasets for audio pattern recognition. In this paper, we propose pretrained audio neural networks (PANNs) trained on the large-scale AudioSet dataset. These PANNs are transferred to other audio related tasks. We investigate the performance and computational complexity of PANNs modeled by a variety of convolutional neural networks. We propose an architecture called Wavegram-Logmel-CNN using both log-mel spectrogram and waveform as input feature. Our best PANN system achieves a state-of-the-art mean average precision (mAP) of 0.439 on AudioSet tagging, outperforming the best previous system of 0.392. We transfer PANNs to six audio pattern recognition tasks, and demonstrate state-of-the-art performance in several of those tasks. We have released the source code and pretrained models of PANNs: https://github.com/qiuqiangkong/audioset_tagging_cnn.

For agents

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

get_harvested_code_for_paper("1912.10211")
get_code_for_paper("1912.10211")
have("1912.10211")

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

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

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

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

Connect an agent — have() is free.