p0p4k / vits2_pytorch

unofficial vits2-TTS implementation in pytorch
https://arxiv.org/abs/2307.16430
MIT License
477 stars 85 forks source link

Just curious, for line 528 and line 530 in models.py, why return x without calculation? #45

Closed hildazzz closed 12 months ago

hildazzz commented 1 year ago
x_ = torch.cat([x0, x1], 1)
logdet = torch.sum(logs, [1, 2])
return x, logdet
p0p4k commented 12 months ago

Hi, I completely misread your question earlier and you are right, it is a typo. It should be x instead of x_ in the first line. Thanks!!