New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Training Error #1
Comments
Hi @thanhdo99 , I didn't check the parallel training yet. If you have several GPUs inserted, please specify a single GPU by
|
Hi @keonlee9420 |
I see. Can you print and share the shape of |
Umm, did you follow the process described in README.md for preprocessing your dataset? If so, your |
when I used the Fastspeech 2 model (https://github.com/ming024/FastSpeech2) the result was noised like this below And I wonder if your diffsinger model could help me fix this problem? |
Did you also train the vocoders under the dataset? If not, I recommend to train the vocoder too. I think the noise can be from either 1. an insufficient amount of dataset or 2. mismatch between synthesizer and vocoder. If both problems are not fixed, then the diffsinger model may show similar issues since it is a synthesizer and have 2 stage pipeline (synthesizer-vocoder). |
Close the issue due to the inactivity. you can reopen it anytime if you have issues. |
In this case, , i ran the scripts python3 train.py -p config/vietnam/preprocess.yaml -m config/vietnam/model.yaml -t config/vietnam/train.yaml
File "train.py", line 199, in
main(args, configs)
File "train.py", line 85, in main
losses = Loss(batch, output)
File "/home/thanhdo/envs/diffsinger_env/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/thanhdo/Documents/DiffSinger/model/loss.py", line 69, in forward
log_duration_targets = log_duration_targets.masked_select(src_masks)
RuntimeError: The size of tensor a (39) must match the size of tensor b (136) at non-singleton dimension 1
The text was updated successfully, but these errors were encountered: