keonlee9420 / Cross-Speaker-Emotion-Transfer

PyTorch Implementation of ByteDance's Cross-speaker Emotion Transfer Based on Speaker Condition Layer Normalization and Semi-Supervised Training in Text-To-Speech
MIT License
181 stars 26 forks source link

'NoneType' object has no attribute 'unsqueeze' because mask is None in evaluating. #2

Closed Scx123 closed 2 years ago

Scx123 commented 2 years ago

When in evaluating,'self.training' is False,so mel_masks is None。Decoder encounters this error because mel_mask is None.

freshwindy commented 2 years ago

How did you solve this error?

raikarsagar commented 2 years ago

Any resolutions for this issue so far?

keonlee9420 commented 2 years ago

Hi all, sorry for the late response. I just updated the repo with fixes of all issues (v0.2.0). Please check it out! Thanks.