Skip to main content
Dryad logo

TweetyNet results


Nicholson, David; Cohen, Yarden (2022), TweetyNet results, Dryad, Dataset,


This dataset accompanies the eLife publication "Automated annotation of birdsong with a neural network that segments spectrograms". In the article, we describe and benchmark a neural network architecture, TweetyNet, that automates the annotation of birdsong as we describe in the text. Here we provide checkpoint files that contain the weights of trained TweetyNet models. The checkpoints we provide correspond to the models that obtained the lowest error rates on the benchmark datasets used (as reported in the Results section titled "TweetyNet annotates with low error rates across individuals and species"). We share these checkpoints to enable other researchers to replicate our key result, and to allow users of our software to leverage them, for example to improve performance on their data by adapting pre-trained models with transfer learning methods.



Checkpoint files were generated using the `vak` library (, running it with configuration files that are part of the code repository associated with the TweetyNet manuscript ( Those "config files" are in the directory "article/data/configs" and can be run on the appropriate datasets (as described in the paper). The "source data" files used to generate the figures were created by running scripts on the final results of running the `vak` library. Those source data files and scripts are in the code repository as well. For further detail, please see the methods section in

Usage Notes

Please see README at that explains how to install the software.

To replicate the key result as described in the section of the article "TweetyNet annotates with low error rates across individuals and species", please follow the set-up instructions in that README, and then run this script:

For guidance on how to adapt pre-trained models to new datasets, please see the `vak` documentation:


National Institutes of Health, Award: R01NS104925

National Institutes of Health, Award: R24NS098536