Closed alokprasad closed 4 years ago
i tried saving the mel_postnet_torch( melspectrogram) to a pt file , then used to generate wav from Squeezewave but i get following error.
Traceback (most recent call last):
File "inference.py", line 87, in
Any idea was could be the issue?
saving the mel_postnet_torch produces output which is the input to squeezewave melspec = torch.squeeze(mel_postnet_torch, 0) torch.save(melspec, "/tmp/test.pt")
test.pt will be melspectrogram input to squeezewave.
@xcmyz
Following Text -->" Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and crafts represented in the Exhibition in being comparatively modern" Got generated astonishing fast in single core cpu ( no gpu)( have included model loading time)
Audio Duration generated 11.5 Sec in around 3.83 seconds
MEL Calculation: 2.827802896499634
Squeezewave vocoder time 1.0016820430755615
Placeholder for issue related to integration of fastspeech with squeezewave https://github.com/tianrengao/SqueezeWave seems to quite faster than waveflow.