AnuraSet: A large-scale acoustic multi-label dataset for neotropical anuran call classification in passive acoustic monitoring
We present a large-scale multi-species dataset of acoustics recordings of amphibians anuran from PAM recordings. The dataset comprises 27 hours of herpetologist annotations of 42 different species in different regions of Brazil. The classification task is unique and challenging due to the high species diversity, the long-tailed distribution, and frequent overlapping calls. The dataset, including raw recordings, preprocessing code, and baseline code, is made available to promote collaboration between machine learning researchers and ecologists in solving the classification challenges toward understanding the effects of global change on biodiversity.
The Anuraset is a labeled collection of 93k samples of 3-second-long passive acoustic monitoring recordings organized into 42 neotropical anurans species suitable for multi-label call classification. The dataset can be downloaded as a single .zip file (~10.5 GB):
A more thorough description of the dataset is available in the original paper.
Additionally, we open the raw data and all the annotations (weak and strong labels). You can download all the data in Zenodo.
-
Install Python 3.8
-
Clone this repository
git clone https://github.com/soundclim/anuraset/ cd anuraset
-
Create an environment and install requirements
python3.8 -m venv venv venv/bin/python -m pip install --upgrade pip setuptools wheel venv/bin/python -m pip install -r requirements.in venv/bin/python -m pip freeze --all > requirements.txt
Notes
- The installation of dependencies where tested on Linux. If you want to run locally, you might have to change the way you install PyTorch. Check the PyTorch official webpage for installation instruction on specific platforms.
- For macOS you might need to install chardet: The Universal Character Encoding Detector with pip.
-
Download the dataset
venv/bin/python datasets/fetcher.py
-
Unpack the dataset
unzip datasets/datasets/anuraset_v3/anurasetv3.zip
Notes
- You can also do this manually, if you prefer.
-
Remove the zip file
rm datasets/datasets/anuraset_v3/anurasetv3.zip
-
Train
python baseline/train.py --config baseline/configs/exp_resnet18.yaml
-
Inference
python baseline/evaluate.py --config baseline/configs/exp_resnet18.yaml
If you find the AnuraSet useful for your research, please consider citing it as:
- Cañas, J. S., Toro-Gómez, M. P., Sugai, L. S. M., Restrepo, H. D. B., Rudas, J., Bautista, B. P., ... & Ulloa, J. S. (2023). AnuraSet: A dataset for benchmarking Neotropical anuran calls identification in passive acoustic monitoring. arXiv preprint arXiv:2307.06860.
BibTeX entry:
@article{canas2023anuraset,
title={AnuraSet: A dataset for benchmarking Neotropical anuran calls identification in passive acoustic monitoring},
author={Ca{\~n}as, Juan Sebasti{\'a}n and Toro-G{\'o}mez, Maria Paula and Sugai, Larissa Sayuri Moreira and Restrepo, Hern{\'a}n Dar{\'\i}o Ben{\'\i}tez and Rudas, Jorge and Bautista, Breyner Posso and Toledo, Lu{\'\i}s Felipe and Dena, Simone and Domingos, Ad{\~a}o Henrique Rosa and de Souza, Franco Leandro and others},
journal={arXiv preprint arXiv:2307.06860},
year={2023}
}
The authors acknowledge financial support from the intergovernmental Group on Earth Observations (GEO) and Microsoft, under the GEO-Microsoft Planetary Computer Programme (October 2021); São Paulo Research Foundation (FAPESP #2016/25358-3; #2019/18335-5); the National Council for Scientific and Technological Development (CNPq #302834/2020-6; #312338/2021-0, #307599/2021-3); National Institutes for Science and Technology (INCT) in Ecology, Evolution, and Biodiversity Conservation, supported by MCTIC/CNpq (proc. 465610/2014-5), FAPEG (proc. 201810267000023); CNPQ/MCTI/CONFAP-FAPS/PELD No 21/2020 (FAPESC 2021TR386); Comunidad de Madrid (2020-T1/AMB-20636, Atracción de Talento Investigador, Spain) and research projects funded by the European Commission (EAVESTROP–661408, Global Marie S. Curie fellowship, program H2020, EU); and the Ministerio de Economía, Industria y Competitividad (CGL2017-88764-R, MINECO/AEI/FEDER, Spain).