Code Monkey home page Code Monkey logo

kaggle-birdclef2021-2nd-place's Introduction

kaggle-birdclef21

Our writeup for this solution can be found on kaggle.

Training

Download the Birdclef2021 dataset from kaggle and extract the contents to the ./input/ folder.

For the binary classifier training additional data from DCASE is used. The original datasets have been published under the Creative Commons Attribution licence CC-BY 4.0. To allow for training of our binary classifier, we resampled and converted the provided data and uploaded to a kaggle dataset here. Prior to binary classifier training, please extract the folders "bird" and "nocall" to ./input/train_short_audio/.

For the other models, additional data from DCASE and from the BirdClef2020 challenge hosted by Aicrowd is used as background noise. The data has been resampled and converted and uploaded to a kaggle dataset here. Prior to training, please extract the folders "aicrowd2020_noise_30sec", "ff1010bird_nocall" and "train_soundscapes" to ./input/ (note: train_soundscapes/nocall is identical to the data above and may be merged). For potential additional diversity, you can also extract 30s bird segments from old validation data containing same birds as 2021 data.

Training can be initialized with:

# -C flag is used to specify a config file
# replace NAME_OF_CONFIG with an appropiate config file name such as cfg_ps_6_v2
python train.py -C NAME_OF_CONFIG

After training, the last checkpoint (model weights) will be saved to the folder ./output/NAME_OF_CONFIG/

Inference

Inference is published in a kaggle kernel here. Weights from our trained models are provided in a kaggle dataset linked to the inference kernel here.

kaggle-birdclef2021-2nd-place's People

Contributors

christofhenkel avatar psinger avatar pascal-pfeiffer avatar

Stargazers

Roman avatar

Watchers

 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.