-
Notifications
You must be signed in to change notification settings - Fork 182
Description
I have been attempting to use piper with the python-tts method and it seems only the following English voice files work:
- en_US-arctic-medium
- en_US-l2arctic-medium
- en_US-libritts-high
- en_US-libritts_r-medium
- en_GB-aru-medium
- en_GB-semaine-medium
- en_GB-vctk-medium
The rest of them throw the following exception.
Traceback (most recent call last):
File "/usr/local/bin/piper", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/piper/main.py", line 155, in main
voice.synthesize(text, wav_file, **synthesize_args)
File "/usr/local/lib/python3.10/dist-packages/piper/voice.py", line 95, in synthesize
for audio_bytes in self.synthesize_stream_raw(
File "/usr/local/lib/python3.10/dist-packages/piper/voice.py", line 123, in synthesize_stream_raw
yield self.synthesize_ids_to_raw(
File "/usr/local/lib/python3.10/dist-packages/piper/voice.py", line 166, in synthesize_ids_to_raw
audio = self.session.run(
File "/usr/local/lib/python3.10/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 266, in run
return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Invalid input name: sid
Any ideas on how to get the other voice files working?