Simple and Effective Unsupervised Speech Synthesis
submitted to Interspeech 2022. Based on ESPnet.
| system/pytorch ver. |
1.4.0 |
1.5.1 |
1.6.0 |
1.7.1 |
1.8.1 |
1.9.1 |
1.10.1 |
| ubuntu20/python3.9/pip |
|
|
|
|
|
|
|
| ubuntu20/python3.8/pip |
|
|
|
|
|
|
|
| ubuntu18/python3.7/pip |
|
|
|
|
|
|
|
| debian9/python3.7/conda |
|
|
|
|
|
|
|
| centos7/python3.7/conda |
|
|
|
|
|
|
|
| doc/python3.8 |
|
|
|
|
|
|
|

Docs
| Example
| Example (ESPnet2)
| Docker
| Notebook
| Tutorial (2019)
ESPnet is an end-to-end speech processing toolkit covering end-to-end speech recognition, text-to-speech, speech translation, speech enhancement, speaker diarization, spoken language understanding, and so on.
ESPnet uses pytorch as a deep learning engine and also follows Kaldi style data processing, feature extraction/format, and recipes to provide a complete setup for various speech processing experiments.
Key Features
Kaldi style complete recipe
- Support numbers of
ASR recipes (WSJ, Switchboard, CHiME-4/5, Librispeech, TED, CSJ, AMI, HKUST, Voxforge, REVERB, etc.)
- Support numbers of
TTS recipes with a similar manner to the ASR recipe (LJSpeech, LibriTTS, M-AILABS, etc.)
- Support numbers of
ST recipes (Fisher-CallHome Spanish, Libri-trans, IWSLT'18, How2, Must-C, Mboshi-French, etc.)
- Support numbers of
MT recipes (IWSLT'16, the above ST recipes etc.)
- Support numbers of
SLU recipes (CATSLU-MAPS, FSC, Grabo, IEMOCAP, JDCINAL, SNIPS, SLURP, SWBD-DA, etc.)
- Support numbers of
SE/SS recipes (DNS-IS2020, LibriMix, SMS-WSJ, VCTK-noisyreverb, WHAM!, WHAMR!, WSJ-2mix, etc.)
- Support voice conversion recipe (VCC2020 baseline)
- Support speaker diarization recipe (mini_librispeech)
ASR: Automatic Speech Recognition
- State-of-the-art performance in several ASR benchmarks (comparable/superior to hybrid DNN/HMM and CTC)
- Hybrid CTC/attention based end-to-end ASR
- Fast/accurate training with CTC/attention multitask training
- CTC/attention joint decoding to boost monotonic alignment decoding
- Encoder: VGG-like CNN + BiRNN (LSTM/GRU), sub-sampling BiRNN (LSTM/GRU), Transformer, or conformer
- Attention: Dot product, location-aware attention, variants of multihead
- Incorporate RNNLM/LSTMLM/TransformerLM/N-gram trained only with text data
- Batch GPU decoding
- Data augmentation
- Transducer based end-to-end ASR
- Architecture:
- RNN-based encoder and decoder.
- Custom encoder and decoder supporting Transformer, Conformer (encoder), 1D Conv / TDNN (encoder) and causal 1D Conv (decoder) blocks.
- VGG2L (RNN/custom encoder) and Conv2D (custom encoder) bottlenecks.
- Search algorithms:
- Features:
- Multi-task learning with various auxiliary losses:
- Encoder: CTC, auxiliary Transducer and symmetric KL divergence.
- Decoder: cross-entropy w/ label smoothing.
- Transfer learning with acoustic model and/or language model.
- Training with FastEmit regularization method [Yu et al., 2021].
Please refer to the tutorial page for complete documentation.
- CTC segmentation
- Non-autoregressive model based on Mask-CTC
- ASR examples for supporting endangered language documentation (Please refer to egs/puebla_nahuatl and egs/yoloxochitl_mixtec for details)
- Wav2Vec2.0 pretrained model as Encoder, imported from FairSeq.
- Self-supervised learning representations as features, using upstream models in S3PRL in frontend.
- Set
frontend to be s3prl
- Select any upstream model by setting the
frontend_conf to the corresponding name.
- Streaming Transformer/Conformer ASR with blockwise synchronous beam search.
Demonstration
TTS: Text-to-speech
- Architecture
- Tacotron2
- Transformer-TTS
- FastSpeech
- FastSpeech2
- Conformer FastSpeech & FastSpeech2
- VITS
- Multi-speaker & multi-language extention
- Pretrined speaker embedding (e.g., X-vector)
- Speaker ID embedding
- Language ID embedding
- Global style token (GST) embedding
- Mix of the above embeddings
- End-to-end training
- End-to-end text-to-wav model (e.g., VITS)
- Joint training of text2mel and vocoder
- Various language support
- En / Jp / Zn / De / Ru / And more...
- Integration with neural vocoders
- Parallel WaveGAN
- MelGAN
- Multi-band MelGAN
- HiFiGAN
- StyleMelGAN
- Mix of the above models
Demonstration
To train the neural vocoder, please check the following repositories:
NOTE:
- We are moving on ESPnet2-based development for TTS.
- If you are beginner, we recommend using ESPnet2-TTS.
SE: Speech enhancement (and separation)
- Single-speaker speech enhancement
- Multi-speaker speech separation
- Unified encoder-separator-decoder structure for time-domain and frequency-domain models
- Encoder/Decoder: STFT/iSTFT, Convolution/Transposed-Convolution
- Separators: BLSTM, Transformer, Conformer, DPRNN, Neural Beamformers, etc.
- Flexible ASR integration: working as an individual task or as the ASR frontend
- Easy to import pretrained models from Asteroid
- Both the pre-trained models from Asteroid and the specific configuration are supported.
Demonstration
- Interactive SE demo with ESPnet2
ST: Speech Translation & MT: Machine Translation
- State-of-the-art performance in several ST benchmarks (comparable/superior to cascaded ASR and MT)
- Transformer based end-to-end ST (new!)
- Transformer based end-to-end MT (new!)
VC: Voice conversion
- Transformer and Tacotron2 based parallel VC using melspectrogram (new!)
- End-to-end VC based on cascaded ASR+TTS (Baseline system for Voice Conversion Challenge 2020!)
SLU: Speech Language Understanding
- Predicting intent by directly classifying it as one of intent or decoding by character
- Transformer & RNN based encoder-decoder model
- Establish SOTA results with spectral augmentation (Performs better than reported results of pretrained model on Fluent Speech Command Dataset)
DNN Framework
- Flexible network architecture thanks to chainer and pytorch
- Flexible front-end processing thanks to kaldiio and HDF5 support
- Tensorboard based monitoring
ESPnet2
See ESPnet2.
- Independent from Kaldi/Chainer, unlike ESPnet1
- On the fly feature extraction and text processing when training
- Supporting DistributedDataParallel and DaraParallel both
- Supporting multiple nodes training and integrated with Slurm or MPI
- Supporting Sharded Training provided by fairscale
- A template recipe which can be applied for all corpora
- Possible to train any size of corpus without CPU memory error
- ESPnet Model Zoo
- Integrated with wandb
Installation
If you intend to do full experiments including DNN training, then see Installation.
If you just need the Python module only:
# We recommend you installing pytorch before installing espnet following https://pytorch.org/get-started/locally/
pip install espnet
# To install latest
# pip install git+https://github.com/espnet/espnet
# To install additional packages
# pip install "espnet[all]"
If you'll use ESPnet1, please install chainer and cupy.
pip install chainer==6.0.0 cupy==6.0.0 # [Option]
You might need to install some packages depending on each task. We prepared various installation scripts at tools/installers.
(ESPnet2) Once installed, run wandb login and set --use_wandb true to enable tracking runs using W&B.
Usage
See Usage.
Docker Container
go to docker/ and follow instructions.