All models

sb_Cnn14

A 14-layer convolutional network that turns mel-frequency audio features into an embedding.

Audio and speech · 58 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (27 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
75.5M
Operations
58
Framework
PyTorch
Recurrent
No
Published
IEEE/ACM Transactions on Audio Speech and Language Processing (arXiv 2019)
Cited by
73 (as of 5 October 2026)
Authors
Qiuqiang Kong, Yin Ping Cao, Turab Iqbal and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m9044
Graph hash
5a451e871220a5106cd779eeecb506452361602542d3d9e28bba4095512a3778
Skeleton hash
1d5c41619f1f79858c88f9f00f2a68099419ab6e4713e8bed1af0e014e0c55f5
Architecture hash
0aa20e2409ff1c748e05cf982a338583286d27c98141edded858523b83ff612b
Diagram SHA-256
d668d1d3fed51fe5f7f855c98112dcca50a97aeb9ce6225f97fdb4425fd1dfd5
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

speechbrain.lobes.models.Cnn14.Cnn14(mel_bins=64, emb_dim=2048)

What it is

Cnn14 is the SpeechBrain implementation of the CNN14 model from the paper on PANNs, pretrained audio neural networks. The paper trains these networks on the large-scale AudioSet dataset and transfers them to other audio related tasks. It notes that earlier systems were built on specific datasets with limited durations.

CNN14 is the 14-layer network in the paper's series of CNNs, which is inspired by VGG-like CNNs. Each convolutional block consists of 2 convolutional layers with a kernel size of 3 × 3. Average pooling of size 2 × 2 follows each block for downsampling. After the last convolutional layer, global pooling summarizes the feature maps into a fixed-length vector. An extra fully-connected layer then turns that vector into the embedding features.

The paper chose CNN14 as its basic model for experiments because it is a standard CNN with a simple architecture. On AudioSet tagging the paper reports a mean average precision (mAP) of 0.431 for CNN14. In the SpeechBrain version, the number of mel frequency bins in the input and the dimensionality of the output embeddings are arguments. In the paper, CNN14 has an embedding feature dimension of 2048 by default.

Key idea. The paper proposes PANNs, audio neural networks pretrained on the large-scale AudioSet dataset and transferred to other audio pattern recognition tasks.

  • cnn14
  • panns
  • pann
  • pretrained audio neural networks
  • audio tagging
  • audio pattern recognition
  • audioset
  • audio embedding
  • speechbrain cnn14
  • sound event detection

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{kong2020pannslargescalepretrainedaudio,
      title={PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition}, 
      author={Qiuqiang Kong and Yin Cao and Turab Iqbal and Yuxuan Wang and Wenwu Wang and Mark D. Plumbley},
      year={2020},
      eprint={1912.10211},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/1912.10211}, 
}