Giter Site home page Giter Site logo

wave-u-net-for-speech-enhancement-nnabla's Introduction

Wave-U-Net for Speech-Enhancement (NNabla)

Implement of Improved Speech Enhancement with the Wave-U-Net.

Requrement

Python

  • Python 3.6
  • CUDA 10.1 & CuDNN 7.6
    • Please choose the appropriate CUDA and CuDNN version to match your NNabla version

Packages

Please install the following packages with pip. (If necessary, install latest pip first.)

  • nnabla (over v1.1)
  • nnabla-ext-cuda (over v1.1)
  • scipy
  • numba
  • joblib
  • pyQT5
  • pyqtgraph (after installing pyQT5)
  • pypesq (see "install with pip" on offical site)
    In the latest version, the package name is changed to pesq. If you install pesq, change 'pypesq' to pesq in 25th line in wave-u-net.py as
    from pesq import pesq as pypesq
    

Contents

  • wave-u-net.py
    Main source code. Run this.

  • data.py
    This is for creating Batch Data. Before runnning, please download wav dataset as seen below.

  • settings.py
    This includes setting parameters.

Download & Create Database

  1. Download wave-u-net.py, settings.py, data.py and save them into the same directory.

  2. In the directory, make three folders data, pkl, params .

    • data folder : save wav data.
    • pickle folder : save pickled database "~.pkl".
    • params folder : save parameters including network models.
  3. Download the following 4 dataset, and unzip them from

    Noisy speech database for training speech enhancement algorithms and TTS models
    https://datashare.is.ed.ac.uk/handle/10283/2791

    [ Direct Links ]

  4. Move those unzipped 4 folders into data folder.

  5. Convert the sampling frequency of all the wav data to 16kHz. For example, this site is useful. After converting, you can delete the original wav data.

Train & Predict

If train, in wave-u-net.py,

 Train = 1

If predict, in wave-u-net.py,

 Train = 0

wave-u-net-for-speech-enhancement-nnabla's People

Contributors

yosukesugiura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wave-u-net-for-speech-enhancement-nnabla's Issues

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.