Practical overview
When it fits
Use PASE when a speech-processing workflow needs a self-supervised waveform encoder that can supply features or be fine-tuned within a PyTorch model.
Who it is for
- Speech researchers building recognition or generation systems.
- PyTorch developers who want to use or fine-tune a speech encoder.
- Teams preparing their own audio data for self-supervised encoder training.
Documented uses
- Extract representations from speech waveforms for downstream models.
- Pre-train an encoder for automatic speech recognition, speaker recognition or emotion recognition.
- Explore encoder use in voice conversion or text-to-speech research.
- Prepare audio splits and worker statistics for self-supervised training.
Requirements & limits
The repository is public and specifies the MIT license.
- The README specifies PyTorch 1.0 or higher and Torchvision 0.2 or higher, plus dependencies in requirements.txt.
- The CUDA-specific CuPy requirement may need editing for the local CUDA version.
- Training-time augmentation requires building codec2 from source and installing pycodec2; the README notes LD_LIBRARY_PATH may also need adjustment.
- Self-supervised training requires audio data, dataset and encoder/worker configurations, and worker-specific training statistics.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Load the documented pretrained PASE+ encoder
Set up the repository's documented PASE+ checkpoint and configuration to pass waveform tensors through the encoder.
Before you start
- PyTorch 1.0 or higher and Torchvision 0.2 or higher.
- Install dependencies from requirements.txt; adjust the CUDA-specific CuPy requirement if needed.
- The PASE+ checkpoint FE_e199.ckpt and configuration file cfg/frontend/PASE+.cfg.
Steps
Install the repository dependencies with pip install -r requirements.txt.
Use the PASE+ configuration to build the encoder with pase.models.frontend.wf_builder.
Load FE_e199.ckpt with load_pretrained, then pass a waveform tensor to the encoder.
Expected outcome
The README's example produces encoder features shaped as 625 frames of 256 dimensions from an input tensor shaped (1, 1, 100000).
Guide limitations
- The checkpoint contains encoder parameters only, without a worker.
- The example's random-noise input demonstrates tensor shape, not speech-task quality or a successful real-data workflow.
Prepare data and statistics for self-supervised training
Create the dataset configuration and worker statistics files that the repository lists as inputs to its training stage.
Before you start
- A data root containing audio files or soft links, without subfolders, in WAV, MP3 or another Torchaudio-supported format.
- Training and test file lists, plus a filename-to-speaker-class dictionary.
- The repository's dataset-configuration and statistics scripts and worker configuration.
Steps
Create training and test lists with filenames and extensions, and provide the filename-to-speaker-class dictionary.
Run unsupervised_data_cfg_librispeech.py with the data root and those files to create a dataset configuration.
Run make_trainset_statistics.py with the data root, dataset configuration and worker configuration to write the statistics file.
Expected outcome
A dataset configuration and worker-specific statistics file are prepared for the subsequent training stage.
Guide limitations
- This recipe covers data preparation, not running training.
- Speaker labels support a held-out-speaker split for validation; the README says they are not used during training.
- The README gives example commands using LibriSpeech paths, which must be adapted to the reader's own files.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 November 2026
- Original website title
- santi-pdp/pase · Official homepage title · retained in its source language

