SpecAugment Numpy Scipy Save

fast SpecAugmentation code with numpy and scipy

Project README

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
Open Source Agenda is not affiliated with "SpecAugment Numpy Scipy" Project. README Source: KimJeongSun/SpecAugment_numpy_scipy
Stars
29
Open Issues
0
Last Commit
4 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating