GithubHelp home page GithubHelp logo

light1726 / speechtriplenet Goto Github PK

View Code? Open in Web Editor NEW
24.0 4.0 2.0 52.13 MB

The implementation of paper "SpeechTripleNet: End-to-End Disentangled Speech Representation Learning for Content, Timbre and Prosody"

License: MIT License

Python 4.19% Jupyter Notebook 95.81%

speechtriplenet's Introduction

SpeechTripleNet

The implementation of paper "SpeechTripleNet: End-to-End Disentangled Speech Representation Learning for Content, Timbre and Prosody"

Environment setup

conda env create -f environment.yml
conda activate speechtriplenet-env

Quick try of speech editing with pretrained model

# Download the pretrained model from https://drive.google.com/file/d/1dAdPXtENtACtVokBZyzn32DlWd1Zk3Yy/view?usp=sharing;
# Put it under output-CCDPJ-c_100.0_1.3-s_10.0_60.0-p_10.0_3.0/ckpt/VCTK/
jupyter notebook speech_editing.ipynb

Data feature extraction for training

python preprocess.py --config ./configs/VCTK/preprocess.yaml

Training

CUDA_VISIBLE_DEVICES=0 python train.py --mdl CCDPJ -p ./configs/VCTK/preprocess.yaml -t ./configs/VCTK/train.yaml -m ./configs/VCTK/model.yaml

Inference

See speech_editing.ipynb.

speechtriplenet's People

Contributors

light1726 avatar

Stargazers

 avatar  avatar Nick Fisher avatar Nickolay V. Shmyrev avatar Natalia Tomashenko avatar Junkai Wu avatar Yiwen Wang avatar  avatar Shirunwu avatar IQIUM avatar cinjon avatar carlito avatar Sofian Mejjoute avatar nina.shih avatar Jinchao avatar hertz avatar Yunlin Chen avatar Sandalots avatar 爱可可-爱生活 avatar  avatar Justin John avatar  avatar Yuan-Man avatar HeyangXue1997 avatar

Watchers

Nickolay V. Shmyrev avatar Yunlin Chen avatar  avatar Justin John avatar

Forkers

maxmax2016 alamja

speechtriplenet's Issues

Regarding the shape of the generated Mel-Spectrograms

Hello. After preprocessing the dataset, I am getting shape of the mel-spectrograms as (80,1). It has 80 mel bands which is fine but how can it only have one 1 number of frames? With the model you have for the content posterior etc you need an input of B,C,T. B and C are sorted but with only one dimension at T its not working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.