Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 736 Bytes

README.md

File metadata and controls

44 lines (26 loc) · 736 Bytes

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

pip install -r requirements.txt
python3 specaugment.py

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

python3 specaugment.py -i <input file>

Example output

start to SpecAugment 100 times
whole processing time : 0.9117 second
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