Hey,
on my server I run an rootless docker setup with home assistant and wyoming whisper and piper with no ssl certificate. I read all topic s to troubleshoot my problem, but nothing works, same vlan, no blocking firewall, fixed ports.
My home assistant and esphome logs showed no error s, but my whisper logs showed this:
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-98’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ValueError(“can’t extend empty axis 0 using modes other than ‘constant’ or ‘empty’”)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 69, in handle_event
segments, _info = self.model.transcribe(
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/transcribe.py”, line 124, in transcribe
features = self.feature_extractor(audio)
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/feature_extractor.py”, line 152, in call
frames = self.fram_wave(waveform)
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/feature_extractor.py”, line 98, in fram_wave
frame = np.pad(frame, pad_width=padd_width, mode=“reflect”)
File “/usr/local/lib/python3.9/dist-packages/numpy/lib/arraypad.py”, line 819, in pad
raise ValueError(
ValueError: can’t extend empty axis 0 using modes other than ‘constant’ or 'empty
I only got this error with my m5 atom echo, on my android phone i got the correct response. Could this be because of http not https?
In home assistant my debug assistant log:
stt:
engine: stt.faster_whisper
metadata:
language: en
format: wav
codec: pcm
bit_rate: 16
sample_rate: 16000
channel: 1
done: false
why is it not working?
Thanks in advance.