Replies: 1 comment
-
разобрался. не работает в случае если версия torch>1.10.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Добрый день.
При обновлении вылезла "беда".
Нормализатор https://github.com/snakers4/russian_stt_text_normalization
Кусок кода:
Ошибка:
ttsapi | File "/opt/app.py", line 47, in api_tts
ttsapi | return Response(silero_tts (text, voice, rate, ssml), mimetype="audio/x-wav")
ttsapi | File "/opt/app.py", line 25, in silero_tts
ttsapi | norm = Normalizer()
ttsapi | File "/opt/normalizer.py", line 18, in init
ttsapi | self.model = torch.jit.load(jit_model, map_location=device)
ttsapi | File "/usr/local/lib/python3.8/site-packages/torch/jit/_serialization.py", line 162, in load
ttsapi | cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files)
ttsapi | RuntimeError: Legacy model format is not supported on mobile.
Beta Was this translation helpful? Give feedback.
All reactions