Comments (24)
I don't think this line is caused by sigma values. When squeezing data, I think it breaks the continuity of audio in time domain. Thus you will find such lines in frequency domain. For example, when using n_group=8
to train 16k audios, these lines will exist in 2k hz, 4k, 6k...
sample.zip
from waveglow.
Please try sigma = 1 or train more iteration. It helped me.
from waveglow.
just, train more steps may make this noise disappear
from waveglow.
@syang1993 can your share your config json?
from waveglow.
@azraelkuan can you share your config json? your sigma=0.6 is during training?
from waveglow.
@hdmjdp keep the same with this repo except the wavenet filters, i change it to 128 for big batch size
0.6 is for inference
from waveglow.
@hdmjdp You can just use the default config.
@azraelkuan The lines also esixts in your 208K sample (2k ,4k, 6k).
from waveglow.
@syang1993 @azraelkuan
{
"train_config": {
"output_directory": "checkpoints",
"epochs": 100000,
"learning_rate": 1e-4,
"sigma": 1.0,
"iters_per_checkpoint": 2000,
"batch_size": 1,
"seed": 1234,
"checkpoint_path": ""
},
"data_config": {
"wav_dataroot":"/home/hdm/Documents/tts/data/wav/hb_cen_lily_sent-24K",
"mel_dataroot":"/home/hdm/Documents/wavenet/msc",
"segment_length": 18000,
"sampling_rate": 24000,
"filter_length": 2048,
"hop_length": 120,
"win_length": 2048,
"mel_fmin": 0.0,
"mel_fmax": 8000.0
},
"dist_config": {
"dist_backend": "nccl",
"dist_url": "tcp://localhost:54321"
},
"waveglow_config": {
"n_mel_channels": 80,
"n_flows": 12,
"n_group": 8,
"n_early_every": 4,
"n_early_size": 2,
"WN_config": {
"n_layers": 8,
"n_channels": 512,
"kernel_size": 3
}
}
}
this is my config json, can you give some adivice?
from waveglow.
@hdmjdp Hi, I tried the default config before with batch_size=4, it works well. So I think you don't need to change the config settings.
For noise line, you can try to set n_group=16
, I believe it must exist in 1k, 2k, 3k... Increasing the sigma value during inference may alleviate this issue, but larger sigma may bring more noise into audios. The discontinuity caused by squeezing is the nature of this problem I think.
from waveglow.
@syang1993 thanks for replying. My dataset is 24k, and titanv can not use batchsize=4 when seqlen=18000. What is your gpu type?
from waveglow.
@syang1993 @azraelkuan Another question. Do you try train using fp16?
from waveglow.
@syang1993 hello! your generated sample is very good and it's a 16khz audio. in your config mel_fmax=8000? and i'm confused why not use the default mel_fmax = sample_rate/2(ljspeech ,22050). and is it important?
from waveglow.
from waveglow.
@syang1993 Hi, I want to ask something unrelated with waveglow, but also about the noise line.
I trained parallel wavenet using different datasets. One (Ljspeech 16k)got noise lines every 2k Hz, well the other (open sourced mandarin data from Databaker) every 800 Hz. They both share the same parameters. I always think it's the data that cause the noise line not squeezing data or something. (I m not sure) Have you ever tried parallel wavenet? Did you got the same issue? The noise line are really noisy.... want to figure out why.
thank you
from waveglow.
@hcwu1993 I used mel_fmax=8000
for 16Khz data. By the way, I don't think this param is so important.
from waveglow.
@zhangyizhong17 How do you sample in parallel wavenet? I tried parallel-wavenet with same database like waveglow, but I didn't find the noise line in the generated samples. I attached a sample from parallel-wavenet using predicted mels.
parallel.zip
So I don't think the noise line is caused by data itself.
from waveglow.
@zhangyizhong17 can you provide a link to the parallel wavenet implementation that was used to generate the sample you shared?
from waveglow.
@syang1993 what do you use repo of parallel wavenet?
from waveglow.
@hdmjdp you mean the repo I used to train parallel wavenet or the mel-prediction method?
from waveglow.
@syang1993 sorry I couldn't find my sample any more. it was 2-3 month ago. my folder is like a mess.
Does your parallel wavenet model use MoL as loss function? I did it using gaussian mentioned in clarinet.
from waveglow.
@rafaelvalle
https://github.com/azraelkuan/parallel_wavenet_vocoder
my samples are generated based on azraelkuan's implementation.
from waveglow.
@zhangyizhong17 Yes, the sample I attached used MoL.
from waveglow.
@syang1993 Yes.
from waveglow.
Closing due to inactivity.
from waveglow.
Related Issues (20)
- pose = list(self.allPose.keys())[list(self.allPose.values()).index(pose_ind)] ValueError: 'PD+00' is not in list
- GPU required or CPU compatible? HOT 1
- tts_waveglow_268m from_pretrained KeyError
- Waveglow Pretrained Model shall i use for male voice to do transfer learning? Need guidance
- I want to run a trained "yolov5s.pt" in a local pc for a usage of a opencv application .How can I do that in simples as a newbies to pytorch
- Is it possible to split denoiser module?
- Multispeaker trained model inferencing different voices HOT 1
- Can not load model HOT 1
- Converting audio samples to mel then back to audio just generates noise. HOT 3
- Convert log Mel bank energy to audio by your model
- Training different 'n_mel_channels' models HOT 2
- An important issue on multispeaker inference
- Continue Training from a checkpoint saved in checkpoints folder HOT 1
- spectrogram (image)-to-to wav
- how to make a list of the file names to use for training/testing? HOT 1
- why "audio = audio.astype('int16')" is uesd ? HOT 6
- Need help warm start model HOT 1
- ERROR: No matching distribution found for torch==1.0 HOT 2
- Can't install matplotlib
- WaveGlow: a Flow-based Generative Network for Speech Synthesis
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 waveglow.