We present a deep learning approach towards the large-scale prediction and analysis of bird acoustics from 100 different bird species
Перейти к файлу
v-javdel d41603be8b
Merge pull request #1 from gaurav71531/main
Update README.md
2023-02-15 14:27:47 -03:00
.gitignore Initial commit 2021-06-21 17:54:41 +00:00
CNN_CNN.ipynb init 2021-06-21 20:32:11 -07:00
CNN_RNN.ipynb init 2021-06-21 20:32:11 -07:00
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md committed 2021-06-21 10:54:50 -07:00
LICENSE LICENSE committed 2021-06-21 10:54:50 -07:00
README.md Update README.md 2021-08-24 17:37:28 -07:00
SECURITY.md SECURITY.md committed 2021-06-21 10:54:51 -07:00
SUPPORT.md SUPPORT.md committed 2021-06-21 10:54:52 -07:00
models.py init 2021-06-21 20:32:11 -07:00
process_data.ipynb init 2021-06-21 20:32:11 -07:00
requirements.txt init 2021-06-21 20:32:11 -07:00
spectr_vgg16.ipynb init 2021-06-21 20:32:11 -07:00
utils.py init 2021-06-21 20:32:11 -07:00

README.md

Recurrent Convolutional Neural networks for sound classification

We present a deep learning approach towards the large-scale prediction and analysis of bird acoustics from 100 different birdspecies. We use spectrograms constructed on bird audio recordings from the Cornell Bird Challenge (CBC)2020 dataset, which includes recordings of multiple and potentially overlapping bird vocalizations per audio and recordings with background noise. Our experiments show that a hybrid modeling approach that involves a Convolutional Neural Network (CNN) for learning therepresentation for a slice of the spectrogram, and a Recurrent Neural Network (RNN) for the temporal component to combineacross time-points leads to the most accurate model on this dataset. The code has models ranging from stand-alone CNNs to hybrid models of various types obtained by combining CNNs with CNNs or RNNs of the following types:Long Short-Term Memory (LSTM) networks, Gated Recurrent Units (GRU) and Legendre Memory Units (LMU).

Paper: Comparing recurrent convolutional neural networks for large scale bird species classification
Gaurav Gupta, Meghana Kshirsagar, Ming Zhong, Shahrzad Gholami, and Juan Lavista Ferres
Nature Scientific Reports link

Setup

Requirements

The code package is developed using Python 3.6 and Pytorch 1.2 with cuda 10.0. For running the experiments first install the required packages using 'requirements.txt'

Experiments

The data for bird sound classification is downloaded from the Kaggle competition Cornell birdcall Identification.

For running the experiments, a data preprocessing pipeline is demostrated in the process_data.ipynb

After preprocessing the data, the RCNN models with various combinations of representation/temporal models can be run as follows:

CNN + CNN

An example is shown in CNN_CNN.ipynb notebook for the CNN and TCNN configs taken in the paper. In a similar way, a different set of configs could be supplied to the cnn+cnn model.

CNN + RNN

An exampe for CNN+GRU, CNN+LMU, and CNN+LSTM is shown in CNN_RNN.ipynh notebook. Other variants of RCNNs with different set of parameters can be set as explained in the notebook.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.