项目作者: KimJeongSun

项目描述 :
fast SpecAugmentation code with numpy and scipy
高级语言: Python
项目地址: git://github.com/KimJeongSun/SpecAugment_numpy_scipy.git
创建时间: 2019-07-05T02:43:50Z
项目社区:https://github.com/KimJeongSun/SpecAugment_numpy_scipy

开源协议:Apache License 2.0

下载


SpecAugment with numpy & scipy

This is SpecAugment code with numpy and scipy.

In my test environment, this code is about 100 time faster than using tensorflow.

Usage

  1. pip install -r requirements.txt
  2. python3 specaugment.py

if you want to test your test audio, run this command

  1. python3 specaugment.py -i <input file>

Example output

  1. start to SpecAugment 100 times
  2. whole processing time : 0.9117 second
  3. average processing time : 9.12 ms
  • original spectrogram

spectrogram

  • warped spectrum

spectrum_warped

  • warped + masked spectrum

spectrum_masked

Reference

  1. https://arxiv.org/pdf/1904.08779.pdf