Traceback (most recent call last):
File "synthesize.py", line 231, in <module>
synthesize(device, model, args, configs, vocoder, batchs, control_values)
File "synthesize.py", line 95, in synthesize
output = model(
File "/root/miniconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/root/Comprehensive-Transformer-TTS/model/CompTransTTS.py", line 112, in forward
) = self.variance_adaptor(
File "/root/miniconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/root/Comprehensive-Transformer-TTS/model/modules.py", line 1088, in forward
pitch_prediction, pitch_embedding = self.get_pitch_embedding(
File "/root/Comprehensive-Transformer-TTS/model/modules.py", line 933, in get_pitch_embedding
f0_denorm = denorm_f0(f0, uv, self.preprocess_config["preprocessing"]["pitch"], pitch_padding=pitch_padding)
File "/root/Comprehensive-Transformer-TTS/utils/pitch_tools.py", line 79, in denorm_f0
f0[uv > 0] = 0
IndexError: The shape of the mask [1, 154] at index 1 does not match the shape of the indexed tensor [1, 173] at index 1