You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVIDIA Jetson Orin NX Engineering Reference Developer Kit
Package: nvidia-l4t-core
Version: 36.4.0-20240912212859
cuda 12.6
py 3.10.9
soundfile=0.12.1
using edgetts
Exception in thread Thread-2 (process_tts):
Traceback (most recent call last):
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/threading.py", line 953, in run
self._target(self._args, **self._kwargs)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 71, in process_tts
self.txt_to_audio(msg)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 91, in txt_to_audio
stream = self.__create_bytes_stream(self.input_stream)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 105, in __create_bytes_stream
stream, sample_rate = sf.read(byte_stream) # [Tsample_rate,] float64
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 285, in read
with SoundFile(file, 'r', samplerate, channels,
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening <_io.BytesIO object at 0xffff12dd4590>: Format not recognised.
The text was updated successfully, but these errors were encountered:
It says "format not recognized", and you are using a BytesIO object. Since there is no file name to discern the format from, you need to pass the format manually to the constructor.
NVIDIA Jetson Orin NX Engineering Reference Developer Kit
Package: nvidia-l4t-core
Version: 36.4.0-20240912212859
cuda 12.6
py 3.10.9
soundfile=0.12.1
using edgetts
Exception in thread Thread-2 (process_tts):
Traceback (most recent call last):
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/threading.py", line 953, in run
self._target(self._args, **self._kwargs)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 71, in process_tts
self.txt_to_audio(msg)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 91, in txt_to_audio
stream = self.__create_bytes_stream(self.input_stream)
File "/home/aiyo/avatarhuman/avatarhuman/ttsreal.py", line 105, in __create_bytes_stream
stream, sample_rate = sf.read(byte_stream) # [Tsample_rate,] float64
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 285, in read
with SoundFile(file, 'r', samplerate, channels,
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 658, in init
self._file = self._open(file, mode_int, closefd)
File "/home/aiyo/avatarhuman/avatarhuman/venv/lib/python3.10/site-packages/soundfile.py", line 1216, in _open
raise LibsndfileError(err, prefix="Error opening {0!r}: ".format(self.name))
soundfile.LibsndfileError: Error opening <_io.BytesIO object at 0xffff12dd4590>: Format not recognised.
The text was updated successfully, but these errors were encountered: