OpenViSTAI · Agents · Blockchain · Crypto
Menu
Audio & Voice AI

STARGANV2 Vc

StarGANv2-VC is a Python implementation of an unsupervised, non-parallel, many-to-many voice-conversion method based on a generative adversarial network. It combines adversarial source-classifier and perceptual losses, with a style encoder for expressive speech conversion.

Independent OpenViST project profile, based on linked sources.

STARGANV2 Vc — Experiments with multiple speaker domains and non-parallel audio
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want a research codebase for training or running many-to-many voice-conversion experiments without parallel speech recordings or text labels.

Who it is for

  • Researchers exploring voice conversion with non-parallel audio data
  • Developers building speech-conversion experiments using Python

Documented uses

  • Train a voice-conversion model using audio labelled by speaker
  • Run the provided inference workflow with pretrained StarGANv2 and ParallelWaveGAN models
  • Investigate expressive, cross-lingual, or singing-conversion tasks
Before you choose

Requirements & limits

The repository is public and lists an MIT license. Its documented setup uses Python 3.7 or later.

  • Training requires speaker-labelled file lists and a configured speaker count.
  • The README's VCTK preparation workflow includes downsampling to 24 kHz.
  • The README estimates about 10 GB of GPU RAM for a batch size of five.
  • Provided ASR and F0 models were trained on speech data; the README recommends training replacements for best performance on non-English or non-speech data.
  • Changing mel-spectrogram preprocessing requires retraining the auxiliary ASR and F0 models.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare data and start StarGANv2-VC training

Set up the repository, install its listed Python packages, prepare VCTK data, and launch the documented training command.

Before you start

  • Python 3.7 or later
  • A clone of the repository
  • The listed Python packages: SoundFile, torchaudio, munch, parallel_wavegan, torch, pydub, pyyaml, click and librosa
  • VCTK data, prepared with the provided notebook, or the prepared dataset linked in the README

Steps

  1. Clone the repository and change into its directory.

  2. Install the listed Python packages with the README's pip command.

  3. Prepare VCTK data using the provided notebook, including downsampling to 24 kHz, or place the prepared dataset in the Data folder.

  4. Set training and validation data in Configs/config.yml; set num_domains to the speaker count and format the data list as filename.wav|speaker_number.

  5. Run python train.py --config_path ./Configs/config.yml.

Expected outcome

Training checkpoints and TensorBoard logs are saved at the configured log_dir.

Guide limitations

  • The README estimates that batch_size=5 takes around 10 GB of GPU RAM; available memory affects how large a batch can be used.
  • The README's described data preparation and sample configuration are based on VCTK.
Source-based practical guide

Run the documented pretrained inference notebook

Prepare the supplied pretrained models and vocoder for the repository's inference notebook.

Before you start

  • A clone of the repository
  • The pretrained StarGANv2 model archive and ParallelWaveGAN vocoder archive linked in the README

Steps

  1. Download the StarGANv2 and ParallelWaveGAN archives linked from the repository README.

  2. Extract the model archive into Models and the vocoder archive into Vocoder.

  3. Open Demo/inference.ipynb and run its notebook cells as directed.

Expected outcome

The documented notebook provides the repository's pretrained-model inference workflow.

Guide limitations

  • The README points to the notebook for inference details; it does not specify additional input preparation steps in the provided instructions.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 November 2026
Original website title
yl4579/StarGANv2-VC · Official homepage title · retained in its source language