GithubHelp home page GithubHelp logo

pam_transferlearning's Introduction

Transfer learning for passive acoustic monitoring

In this study we describe the implementation of transfer learning to create bioacoustic classification models as a means to reduce the complexity of implementing deep learning algorithms from scratch. We compared 12 modern CNN architectures across 4 datasets and focus on scarce data issues when attempting to create a passive acoustic binary classification model with as few as 25 verified examples. The datasets contained vocalisations of: the critically endangered Hainan gibbon (Nomascus hainanus), the critically endangered black-and-white ruffed lemur (Varecia variegata), the vulnerable Thyolo alethe (Chamaetylas choloensis), and the Pin-tailed whydah (Vidua macroura).

Our goal was to demonstrate that transfer learning is a suitable and accessible approach to implementing CNNs which require less human expert knowledge in machine learning.

This code accompanies the paper ``Passive Acoustic Monitoring and Transfer Learning''.

Each folder contains two main code (fine tuning and no fine tuning) examples for 25 input samples. Both will contain a notebook in the form of "Training...ipynb" and "Predicting_...ipynb". The former is the notebook to train the model and the latter to predict on test cases. The easiest approach is to try out the code on Google Colab (see below) as those notebooks automatically download a subset of data. Alternatively, to run the code locally, download the appropriate dataset (see below).

Authors

Emmanuel Dufourq, Carly Batist, Ruben Foquet and Ian Durbach


Requirements

Install all requirements using pip install -r requirements.txt

The following packages were used in development and have been tested on Ubuntu 20.04.3 LTS running Python 3.8 (NVIDIA-SMI 470.103.01, CUDA Version: 11.2, cudnn: 8.1.1)

  • tensorflow==2.7.0
  • SoundFile==0.10.3.post1
  • scikit-learn==1.0.2
  • scipy==1.8.0
  • numpy==1.18.5
  • jupyter==1.0.0
  • pandas==1.4.1
  • librosa==0.8.0
  • yattag==1.14.0
  • matplotlib==3.3.3
  • Keras==2.7.0

Datasets

We provide a subset of data used in this study:

Executing code on Google Colab (easiest way to get started!)

pam_transferlearning's People

Contributors

emmanueldufourq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.