YaItco/avss-models
audiovisual speech separation checkpoints
2 min readupdated
This repository contains six models for two-speaker speech separation (audio-to-audio and audiovisual speech separation) based on the HSE-project-avss project. Some models operate on audio only, while the audiovisual variants additionally incorporate synchronized video clips of lip movements (mouth crops). These checkpoints use the project's custom architectures (such as SepFormer, ConvTasNet, and CTCNet) and are suitable for cleaning up voice tracks in noisy environments. The collection is useful for researchers and developers working on speech and audio processing systems.
Key features
- Support for audio (16 kHz, mono) and synchronized video with articulation
- The set includes models with different training budgets (200 and 600 epochs)
- Ready validation metrics (SI-SNRi, SDRi, PESQ, and STOI) for each checkpoint
- Availability of Hydra configurations and inference scripts in the repository
What you can do
- Apply audiovisual models to separate overlapping voices using video
- Run audio models (such as ConvTasNet or SepFormer) to isolate speakers using only the audio track
- Compare model results on custom validation datasets
- Integrate model weights into an audio processing pipeline according to the project instructions
Example
Example of model initialization and weight loading in Python:
from pathlib import Path
import torch
from hydra.utils import instantiate
from omegaconf import OmegaConf
bundle = Path("saved/hf_avss_models").resolve()
name = "av_convtasnet_600ep"
config = OmegaConf.load(bundle / name / "inference.yaml")
config.bundle_dir = str(bundle)
model = instantiate(config.model).eval()
checkpoint = torch.load(bundle / name / "model.pth", map_location="cpu", weights_only=True)
model.load_state_dict(checkpoint["state_dict"], strict=True)Read more
Details• Metrics: SI-SNRi from 11.93 to 13.45, SDRi from 12.31 to 13.82
• Requirements: CPU or GPU, PyTorch and Python support
• Input data: 16 kHz mono audio; AV models require .npz files with lip frames (resolution from 88x88)
• License: project code is under MIT, lip-extractor weights are distributed under the terms of the original repository










Comments