Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

'denoiser_strength' referenced before assignment [waveglow] #6

Closed
alt131 opened this issue Apr 1, 2021 · 1 comment
Closed

'denoiser_strength' referenced before assignment [waveglow] #6

alt131 opened this issue Apr 1, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@alt131
Copy link

alt131 commented Apr 1, 2021

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 synesthesiam added the bug Something isn't working label Apr 12, 2021
@synesthesiam
Copy link
Contributor

Should be fixed now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants