Skip to content

E2E-SincNet: Toward fully end-to-end speech recognition

License

Notifications You must be signed in to change notification settings

TParcollet/E2E-SincNet

 
 

Repository files navigation

E2E-SincNet: Toward Fully End-to-End Speech Recognition

This repository is a fork of ESPnet and contains the code for the paper E2E-SincNet: toward fully end-to-end speech Recognition that will be presented at ICASSP 2020. E2E-SincNet is partially integrated to ESPnet due to major differences in the input data pipeline. E2E-SincNet will be part of the SpeechBrain toolkit. The provided code makes it feasible to reproduce the results obtained in the paper E2E-SincNet: toward fully end-to-end speech Recognition.

  1. TIMIT recipe: Ready to be used.

Installation

This repository is an enhanced version of an ESPnet fork. Therefore, the installation procedure is equivalent to the ESPnet one, making it easier to deploy SincNet in already existing setups.

ASR datasets

The current version of E2E-SincNet supports an ASR recipe for the TIMIT dataset. Thus, a script named run_sincnet.sh is available in egs/timit/asr1 to reproduce the results observed on the paper E2E-SincNet: toward fully end-to-end speech Recognition. Please note that the steps described in this README can be transposed to any recipe of the ESPnet toolkit. Therefore, WSJ results can be reproduced by following the same steps and modifying the run.sh script.

Run the experiments

The proposed integration of SincNet to ESPnet relies on a bridge between the input features preparation of PyTorch-Kaldi to the standard ESPnet recipes. Let us consider the TIMIT experiment in this tutorial. Therefore 4 steps are needed:

  1. Run the standard Kaldi TIMIT recipe until DNN training (no need to go further). This will create all the files needed by the features pre-processing script.
  2. Go to egs/timit/local and open convert_sph_to_wav_kaldiscp_timit.py. Please modify all the needed path in the latter script with respect to your setup. Then, just call python convert_sph_to_wav_kaldiscp_timit.py. This script converts all the TIMIT .WAV files to the correct format for further processing. PLEASE NOTE THAT THIS SCRIPT DUPLICATES THE WAV FILES SO YOU NEED WRITE ACCESS
  3. Go to egs/timit/local and open save_raw_fea.py. Please modify all the needed path in the latter script with respect to your setup. More precisely, you will need to modify and call this script 3 times to generate the train/dev and test raw input features (python convert_sph_to_wav_kaldiscp_timit.py). This script is from PyTorch-Kaldi and will be soon modified so step 1 becomes unnecessary.
  4. You're good to finally launch the ESPnet recipe (run_sincnet.sh)!

All the configuration files are customizable in the same manner as ESPnet.

About

E2E-SincNet: Toward fully end-to-end speech recognition

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 46.9%
  • Python 45.8%
  • Perl 4.8%
  • MATLAB 1.5%
  • Dockerfile 0.6%
  • M 0.2%
  • Makefile 0.2%