Coder Social home page Coder Social logo

conformersed's Introduction

ConformerSED

Implementation of the paper CONFORMER-BASED SOUND EVENT DETECTION WITH SEMI-SUPERVISED LEARNING AND DATA AUGMENTATION

Dataset

To run this repository's script, please make sure the dataset is cofigured as follows:

└── dcase20_task4
     └── dataset
         └── audio
             ├── train
             |   ├── synthetic20
             |   ├── weak
             |   └── unlabel_in_domain
             ├── validation
             └── public

To acquire the dataset, run stage 1 in bin/run.sh or download directly.

Quick start

$ conda env create -f environment.yaml
$ conda activate dcase20t4
$ wandb login <YOUR_API_KEY>
$ bash ./bin/run.sh

Results

Event-based macro F1 PSDS
Validation 47.7% 0.637
Public 49.0% 0.681

To reproduce the result on public eval set, download pretrained model and config file here.

Then, put model and config as follows:

├── data
|    └── feat
|        └── sr16000_n_mels64_n_fft1024_n_shift323
|            └── public
└── exp
    └── conformer_sed                                  
        ├── model
        │   └── model_best_score.pth
        ├── model_config.yaml
        ├── trainer_config.yaml
        ├── post_process_params.pickle
        └── stats.npz

After that, you can run test script

$ python ./src/test.py

Disclaimer

  • Some audio samples in the original dataset may be missing for some reason (e.g., removed on the internet). For audio samples used in this experiment, see metadata.
  • This repository results are slightly better than reported in the paper.

Contact

If you have any questions, please feel free to ask me.

Koichi Miyazaki (E-mail: miyazaki.koichi_at_g.sp.m.is.nagoya-u.ac.jp)

Reference

DCASE2020 Task4 baseline: https://github.com/turpaultn/dcase20_task4

conformersed's People

Contributors

m-koichi avatar

Watchers

James Cloos 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.