rhasspy / larynx

End to end text to speech system using gruut and onnx
MIT License
822 stars 48 forks source link

'denoiser_strength' referenced before assignment [waveglow] #6

Closed alt131 closed 3 years ago

alt131 commented 3 years ago

cat << EOF | leçon|leçon garçon|garçon EOF /usr/local/bin/larynx --csv --glow-tts /mnt/d/99/voices/fr-fr/siwis-glow_tts --waveglow /mnt/d/99/voices/waveglow/wn_256 --output-dir /mnt/d/99/fr_sw/ --language fr-fr --denoiser-strength 0.001 Traceback (most recent call last): File "/usr/local/bin/larynx", line 8, in sys.exit(main()) File "/usr/local/lib/python3.7/dist-packages/larynx/main.py", line 185, in main for text_idx, (text, audio) in enumerate(text_and_audios): File "/usr/local/lib/python3.7/dist-packages/larynx/init.py", line 146, in text_to_speech audio = future.result() File "/usr/lib/python3.7/concurrent/futures/_base.py", line 435, in result return self.get_result() File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in get_result raise self._exception File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/dist-packages/larynx/init.py", line 185, in _sentence_task audio = vocoder_model.mels_to_audio(mels, settings=vocoder_settings) File "/usr/local/lib/python3.7/dist-packages/larynx/waveglow.py", line 59, in mels_to_audio if denoiser_strength > 0: UnboundLocalError: local variable 'denoiser_strength' referenced before assignment

synesthesiam commented 3 years ago

Should be fixed now