Downloads · 30 days
0
he-shuwei/MS2KU-VTTS
MS2KU-VTTS is a text-to-speech model from he-shuwei. Use it when you need text read aloud. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2026
Repo size
12.9 GB
Likes
0
Public
Click a slice to open those files.
.pt12.4 GB · 96%
From the Hugging Face model README
Shuwei He, Rui Liu<sup>*</sup>
Inner Mongolia University <sup>*</sup> Corresponding Author
(Accepted by ICASSP 2025)
</div> <div align="center"> <a href="https://huggingface.co/he-shuwei/MS2KU-VTTS"> <img src='https://img.shields.io/badge/HuggingFace-Checkpoints-orange?style=flat&logo=huggingface&logoColor=white' alt='huggingface'> </a> <a href="LICENSE"> <img src='https://img.shields.io/badge/License-MIT-yellow.svg' alt='license'> </a> </div> <br>Visual Text-to-Speech (VTTS) aims to take the environmental image as the prompt to synthesize reverberant speech for the spoken content. Previous works focus on the RGB modality for global environmental modeling, overlooking the potential of multi-source spatial knowledge like depth, speaker position, and environmental semantics. To address these issues, we propose a novel multi-source spatial knowledge understanding scheme for immersive VTTS, termed MS<sup>2</sup>KU-VTTS. Specifically, we first prioritize RGB image as the dominant source and consider depth image, speaker position knowledge from object detection, and Gemini-generated semantic captions as supplementary sources. Afterwards, we propose a serial interaction mechanism to effectively integrate both dominant and supplementary sources. The resulting multi-source knowledge is dynamically integrated based on the respective contributions of each source. This enriched interaction and integration of multi-source spatial knowledge guides the speech generation model, enhancing the immersive speech experience. Experimental results demonstrate that MS<sup>2</sup>KU-VTTS surpasses existing baselines in generating immersive speech.
The proposed MS<sup>2</sup>KU-VTTS architecture consists of four components:
git clone https://github.com/he-shuwei/MS2KU-VTTS.git
cd MS2KU-VTTS
pip install -r requirements.txt
Checkpoints & Data — download from HuggingFace:
| Resource | Path | Description |
|---|---|---|
| MS2KU-VTTS (finetuned) | checkpoints/ms2ku_vtts/ | Finetuned model for inference |
| Pretrain Encoder | checkpoints/pretrain_encoder/ | Pretrained TTS encoder |
| Pretrain Decoder | checkpoints/pretrain_decoder/ | Pretrained DiT decoder (ControlNet backbone) |
| BigVGAN v2 | checkpoints/bigvgan/ | Retrained vocoder (16 kHz) |
| Spatial environment captions | data/raw_data/captions/ | Gemini-generated captions for all splits |
| MFA alignment results | data/processed_data/mfa/mfa_outputs.tar.gz | Pre-computed forced alignment (TextGrid) |
The following third-party checkpoints are also required. Please download from their official sources:
| Model | Path | Source |
|---|---|---|
| BERT-large-uncased | checkpoints/bert-large-uncased/ | |
| ResNet-18 | checkpoints/resnet-18/ | Microsoft |
| RMVPE | checkpoints/RMVPE/rmvpe.pt | RMVPE |
Data — this project uses the SoundSpaces-Speech dataset. Please follow their instructions to obtain the raw data, then run the preprocessing pipeline:
Download pretrained models:
python scripts/download_bert.py
python scripts/download_resnet18.py
ResNet18 features (RGB & depth):
bash scripts/extract_resnet18_features/run.sh start
Caption features (Gemini + BERT):
python scripts/generate_gemini_captions.py --api_key YOUR_KEY --image_dir data/processed_data/images --output_dir data/processed_data/captions
bash scripts/extract_caption_features/run.sh start
Speaker position features:
bash scripts/extract_speaker_position/run.sh start
Binarize data:
bash scripts/binarize/run.sh start
bash scripts/train/run.sh start
Monitor training:
bash scripts/train/run.sh log
Check status:
bash scripts/train/run.sh status
bash scripts/infer/run_infer.sh \
--ckpt checkpoints/ms2ku_vtts/model_ckpt_best.pt \
--outdir results/ms2ku_vtts/test_seen \
--batch_size 16
If you find this work useful, please consider citing:
@inproceedings{he2025multi,
title={Multi-source spatial knowledge understanding for immersive visual text-to-speech},
author={He, Shuwei and Liu, Rui},
booktitle={ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={1--5},
year={2025},
organization={IEEE}
}
This work was funded by the Young Scientists Fund (No. 62206136) and the General Program (No. 62476146) of the National Natural Science Foundation of China, the "Inner Mongolia Science and Technology Achievement Transfer and Transformation Demonstration Zone, University Collaborative Innovation Base, and University Entrepreneurship Training Base" Construction Project (Supercomputing Power Project) (No. 21300-231510).
This project builds upon several excellent open-source projects. We gratefully acknowledge:
Model Architectures & Code
Pretrained Models
Datasets & Tools
Libraries