Comments (3)
I would like to use the code to generate some audio samples as voice-overs for some tutorials I'm creating. I've been testing the code out, and as @aayushkubb mentioned, there are missing words and other odd behaviour. I do understand though that there are some technical limitations mentioned.
My machine learning background is fairly lacking so excuse my terminology and lack of understanding, however, I would like to use the 'Autoregressive + MelGAN' colab since it sounds best. Would it be possible to use the Autoregressive model to only train the forward model (MelGAN), and then feed a custom sentence to MelGAN for it vocalize?
In terms of code, that doesn't seem so possible. The relevant bits after dissecting it a bit are the sections below. I would like to feed the
torch.tensor()
function a custom sentence like the Autoregressive portion and not the output audio file of the Autoregressive. Does this even make sense in the context of this machine learning algorithm?# Synthesize text sentence = 'Scientists at the CERN laboratory, say that they have discovered a new particle.' out = model.predict(sentence)
sys.path.append(MelGAN_path) import torch import numpy as np vocoder = torch.hub.load('seungwonpark/melgan', 'melgan') vocoder.eval() mel = torch.tensor(out['mel'].numpy().T[np.newaxis,:,:])
I'm not sure about the last portion of you message, but I would recommend you use the Forward model for TTS (for highest stavbility, autoregressive is just very unstable) and convert with WaverRNN for the highest quality.
The thing you feed to the vocoder (either MelGAN or WaverRNN) are spectrogram predictions from TTS models, so neither text nor audio.
If you have more questions please open a new issue.
from transformertts.
Yes, the autoregressive model is unstable and hard to train. It should only be used to train the forward model.
Pauses are hard to predict if there is a lot of variations and skipping words is a known issue.
Are the decoder heads aligning properly? (check this from tensorboard)
from transformertts.
I would like to use the code to generate some audio samples as voice-overs for some tutorials I'm creating. I've been testing the code out, and as @aayushkubb mentioned, there are missing words and other odd behaviour. I do understand though that there are some technical limitations mentioned.
My machine learning background is fairly lacking so excuse my terminology and lack of understanding, however, I would like to use the 'Autoregressive + MelGAN' colab since it sounds best. Would it be possible to use the Autoregressive model to only train the forward model (MelGAN), and then feed a custom sentence to MelGAN for it vocalize?
In terms of code, that doesn't seem so possible. The relevant bits after dissecting it a bit are the sections below. I would like to feed the torch.tensor()
function a custom sentence like the Autoregressive portion and not the output audio file of the Autoregressive. Does this even make sense in the context of this machine learning algorithm?
# Synthesize text
sentence = 'Scientists at the CERN laboratory, say that they have discovered a new particle.'
out = model.predict(sentence)
sys.path.append(MelGAN_path)
import torch
import numpy as np
vocoder = torch.hub.load('seungwonpark/melgan', 'melgan')
vocoder.eval()
mel = torch.tensor(out['mel'].numpy().T[np.newaxis,:,:])
from transformertts.
Related Issues (20)
- ERROR: while preparing training data HOT 1
- inference error HOT 1
- how can i save the audio file if i am using thee pretrained model in google colab
- Word timestamps
- layer.py TransposedCNNResNorm
- Get rid of the "robotic" sound HOT 4
- model.hdf5 file does not create
- No module named 'decorator'
- How to install on windows?
- the missing of HiFiGAN model.pt HOT 2
- Pause between sentence
- model.pt
- Alignments in PyTorch implementation
- Can't Finish PHONEMIZING On Google Colab. HOT 2
- Error : raise StopIteration StopIteration
- error to run a train_aligner.py
- how Normalized dataset
- DeepPhonemizer? (Phonemizer License Issue)
- About model structute.
- [CONTRIBUTION] Speech Dataset Generator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transformertts.