Closed codionysus closed 1 year ago
Hi! This could be done by modifying tts1/synthesize.py line 30 to "cpu"
Hi, what about line 20? That gives error that pytorch was build without cuda
Similarly just change line to either cpu, or to() completely.
Hi, I have tested both options and it gives me an error on line 47: TypeError: new(): invalid data type 'str'. I execute this command: python synthesize.py --text "бүгінде өңірде тағы бес жобаның құрылысы жүргізілуде."
To make it work, in the file synthesize.py
change this:
with torch.no_grad():
_, c_mel, *_ = text2speech(sample_text.lower())
wav = vocoder.inference(c_mel)
to this:
with torch.no_grad():
output_dict = text2speech(sample_text.lower())
feat_gen = output_dict['feat_gen']
wav = vocoder.inference(feat_gen)
Here is a PR: #10
Hi, I would like test your TTS and use it without CUDA if it's possible. Could you give me an example of synthesizer with pretrained model and without cuda? Thanks