liusongxiang/StarGAN-Voice-Conversion
소개
논문 「StarGAN-VC: Non-parallel many-to-many voice conversion with star generative adversarial networks」의 PyTorch 구현입니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalStarGAN-Voice-Conversion
This is a pytorch implementation of the paper: StarGAN-VC: Non-parallel many-to-many voice conversion with star generative adversarial networks https://arxiv.org/abs/1806.02169 . Note that the model architecture is a little different from that of the original paper.
Dependencies
- Python 3.6 (or 3.5)
- Pytorch 0.4.0
- pyworld
- tqdm
- librosa
- tensorboardX and tensorboard
Usage
Download Dataset
Download and unzip VCTK corpus to designated directories.
mkdir ./data
wget https://datashare.is.ed.ac.uk/bitstream/handle/10283/2651/VCTK-Corpus.zip?sequence=2&isAllowed=y
unzip VCTK-Corpus.zip -d ./data
If the downloaded VCTK is in tar.gz, run this:
tar -xzvf VCTK-Corpus.tar.gz -C ./data
Preprocess data
We will use Mel-cepstral coefficients(MCEPs) here.
python preprocess.py --sample_rate 16000 \
--origin_wavpath data/VCTK-Corpus/wav48 \
--target_wavpath data/VCTK-Corpus/wav16 \
--mc_dir_train data/mc/train \
--mc_dir_test data/mc/test
Train model
Note: you may need to early stop the training process if the training-time test samples sounds good or the you can also see the training loss curves to determine early stop or not.
python main.py
Convert
For example: restore model at step 200000 and specify the source speaker and target speaker to p262 and p272, respectively.
convert.py --resume_iters 200000 --src_spk p262 --trg_spk p272
To-Do list
- Post some converted samples (Please find some converted samples in the
converted_samplesfolder).
Papers that use this repo:
관련 프로젝트 살펴보기
불러오는 중…