Bin etwas weiter...
Piper läuft habe folgendes gemacht:
- docker compose abgepasst
Code: Alles auswählen
wyoming-piper:
container_name: wyoming-piper
image: rhasspy/wyoming-piper:latest # https://github.com/home-assistant/addons/blob/master/piper/DOCS.md
command: --voice de_DE-thorsten-low --length-scale 1.0 --data-dir ./volumes/wyoming/piper
volumes:
- ./volumes/wyoming/piper:/data
environment:
- TZ=Europe/Berlin
restart: unless-stopped
ports:
- 10200:10200
- Die Sprachdateien einzeln in den Ordner ./volumes/wyoming/piper kopiert von Seite
https://huggingface.co/rhasspy/piper-vo ... orsten/low
- Diese habe ich umbenannt in (MODEL_CARD, ALIASES, de_DE-thorsten-low.onnx und de_DE-thorsten-low.onnx.json)
Fehlermeldung kommt immernoch aber wichtig ganz unten steht
INFO:__main__:Ready
jetzt steht da bei mir in den Logs
Code: Alles auswählen
2024-01-18T21:46:18.212092701Z for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2024-01-18T21:46:18.212105868Z socket.gaierror: [Errno -3] Temporary failure in name resolution
2024-01-18T21:46:18.212119182Z
2024-01-18T21:46:18.212131867Z During handling of the above exception, another exception occurred:
2024-01-18T21:46:18.212145052Z
2024-01-18T21:46:18.212157737Z Traceback (most recent call last):
2024-01-18T21:46:18.212170959Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/download.py", line 152, in ensure_voice_exists
2024-01-18T21:46:18.212187089Z with urlopen(_quote_url(file_url)) as response, open(
2024-01-18T21:46:18.212200385Z File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
2024-01-18T21:46:18.212213552Z return opener.open(url, data, timeout)
2024-01-18T21:46:18.212226737Z File "/usr/lib/python3.9/urllib/request.py", line 517, in open
2024-01-18T21:46:18.212239940Z response = self._open(req, data)
2024-01-18T21:46:18.212252792Z File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
2024-01-18T21:46:18.212265699Z result = self._call_chain(self.handle_open, protocol, protocol +
2024-01-18T21:46:18.212278773Z File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
2024-01-18T21:46:18.212298051Z result = func(*args)
2024-01-18T21:46:18.212313384Z File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
2024-01-18T21:46:18.212326773Z return self.do_open(http.client.HTTPSConnection, req,
2024-01-18T21:46:18.212339643Z File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
2024-01-18T21:46:18.212352772Z raise URLError(err)
2024-01-18T21:46:18.212365624Z urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
2024-01-18T21:46:18.212380550Z Traceback (most recent call last):
2024-01-18T21:46:18.212393494Z File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
2024-01-18T21:46:18.212406624Z return _run_code(code, main_globals, None,
2024-01-18T21:46:18.212419327Z File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
2024-01-18T21:46:18.212432272Z exec(code, run_globals)
2024-01-18T21:46:18.212445216Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 209, in <module>
2024-01-18T21:46:18.212495567Z asyncio.run(main())
2024-01-18T21:46:18.212513585Z File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
2024-01-18T21:46:18.212526956Z return loop.run_until_complete(main)
2024-01-18T21:46:18.212539733Z File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
2024-01-18T21:46:18.212553159Z return future.result()
2024-01-18T21:46:18.212566011Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 177, in main
2024-01-18T21:46:18.212579529Z await process_manager.get_process()
2024-01-18T21:46:18.212592325Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/process.py", line 121, in get_process
2024-01-18T21:46:18.212606325Z onnx_path, config_path = find_voice(voice_name, self.args.data_dir)
2024-01-18T21:46:18.212619547Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/download.py", line 183, in find_voice
2024-01-18T21:46:18.212633195Z raise VoiceNotFoundError(name)
2024-01-18T21:46:18.212646066Z wyoming_piper.download.VoiceNotFoundError: de_DE-thorsten-low
2024-01-18T21:46:30.512109125Z ERROR:wyoming_piper.download:Unexpected error while downloading files for de_DE-thorsten-low
2024-01-18T21:46:30.512262938Z Traceback (most recent call last):
2024-01-18T21:46:30.512280938Z File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
2024-01-18T21:46:30.512316622Z h.request(req.get_method(), req.selector, req.data, headers,
2024-01-18T21:46:30.512332900Z File "/usr/lib/python3.9/http/client.py", line 1255, in request
2024-01-18T21:46:30.512346770Z self._send_request(method, url, body, headers, encode_chunked)
2024-01-18T21:46:30.512359733Z File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
2024-01-18T21:46:30.512372640Z self.endheaders(body, encode_chunked=encode_chunked)
2024-01-18T21:46:30.512407436Z File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
2024-01-18T21:46:30.512421955Z self._send_output(message_body, encode_chunked=encode_chunked)
2024-01-18T21:46:30.512434862Z File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
2024-01-18T21:46:30.512447788Z self.send(msg)
2024-01-18T21:46:30.512460473Z File "/usr/lib/python3.9/http/client.py", line 950, in send
2024-01-18T21:46:30.512495102Z self.connect()
2024-01-18T21:46:30.512508750Z File "/usr/lib/python3.9/http/client.py", line 1417, in connect
2024-01-18T21:46:30.512521805Z super().connect()
2024-01-18T21:46:30.512534416Z File "/usr/lib/python3.9/http/client.py", line 921, in connect
2024-01-18T21:46:30.512547694Z self.sock = self._create_connection(
2024-01-18T21:46:30.512583508Z File "/usr/lib/python3.9/socket.py", line 822, in create_connection
2024-01-18T21:46:30.512596842Z for res in getaddrinfo(host, port, 0, SOCK_STREAM):
2024-01-18T21:46:30.512676804Z File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
2024-01-18T21:46:30.512694618Z for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2024-01-18T21:46:30.512707748Z socket.gaierror: [Errno -3] Temporary failure in name resolution
2024-01-18T21:46:30.512720340Z
2024-01-18T21:46:30.512754655Z During handling of the above exception, another exception occurred:
2024-01-18T21:46:30.512768858Z
2024-01-18T21:46:30.512781506Z Traceback (most recent call last):
2024-01-18T21:46:30.512795025Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/download.py", line 152, in ensure_voice_exists
2024-01-18T21:46:30.512808043Z with urlopen(_quote_url(file_url)) as response, open(
2024-01-18T21:46:30.512842821Z File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
2024-01-18T21:46:30.512857413Z return opener.open(url, data, timeout)
2024-01-18T21:46:30.512870302Z File "/usr/lib/python3.9/urllib/request.py", line 517, in open
2024-01-18T21:46:30.512883135Z response = self._open(req, data)
2024-01-18T21:46:30.512895579Z File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
2024-01-18T21:46:30.512930486Z result = self._call_chain(self.handle_open, protocol, protocol +
2024-01-18T21:46:30.512943653Z File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
2024-01-18T21:46:30.512961838Z result = func(*args)
2024-01-18T21:46:30.512974967Z File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
2024-01-18T21:46:30.513008282Z return self.do_open(http.client.HTTPSConnection, req,
2024-01-18T21:46:30.513022689Z File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
2024-01-18T21:46:30.513035522Z raise URLError(err)
2024-01-18T21:46:30.513048078Z urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
2024-01-18T21:46:30.513337112Z Traceback (most recent call last):
2024-01-18T21:46:30.513401963Z File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
2024-01-18T21:46:30.513795088Z return _run_code(code, main_globals, None,
2024-01-18T21:46:30.513863365Z File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
2024-01-18T21:46:30.513982642Z exec(code, run_globals)
2024-01-18T21:46:30.514015438Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 209, in <module>
2024-01-18T21:46:30.514264806Z asyncio.run(main())
2024-01-18T21:46:30.514296527Z File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
2024-01-18T21:46:30.514426508Z return loop.run_until_complete(main)
2024-01-18T21:46:30.514453359Z File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
2024-01-18T21:46:30.514862096Z return future.result()
2024-01-18T21:46:30.514922762Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 177, in main
2024-01-18T21:46:30.515077667Z await process_manager.get_process()
2024-01-18T21:46:30.515111908Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/process.py", line 121, in get_process
2024-01-18T21:46:30.515350702Z onnx_path, config_path = find_voice(voice_name, self.args.data_dir)
2024-01-18T21:46:30.515418442Z File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/download.py", line 183, in find_voice
2024-01-18T21:46:30.515846048Z raise VoiceNotFoundError(name)
2024-01-18T21:46:30.515917640Z wyoming_piper.download.VoiceNotFoundError: de_DE-thorsten-low
2024-01-18T21:47:34.168275010Z INFO:__main__:Ready
Whisper läuft damit aber weiterhin nicht
Dateien sind da aber er akzeptiert sie nicht...
so sehen der Log aus
Code: Alles auswählen
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 136, in <module>
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 78, in main
model_dir = download_model(model, args.download_dir)
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/download.py", line 90, in download_model
with urlopen(model_url) as response:
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
WARNING:wyoming_faster_whisper.download:Model hashes do not match
WARNING:wyoming_faster_whisper.download:Expected: {'config.json': 'e5a2f85afc17f73960204cad2b002633', 'model.bin': 'c21f8eccfdc11978e9496dcb731c54e2', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
WARNING:wyoming_faster_whisper.download:Got: {'model.bin': '', 'config.json': '', 'vocabulary.txt': ''}
WARNING:wyoming_faster_whisper.download:Model hashes do not match
WARNING:wyoming_faster_whisper.download:Expected: {'config.json': 'e5a2f85afc17f73960204cad2b002633', 'model.bin': 'c21f8eccfdc11978e9496dcb731c54e2', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
WARNING:wyoming_faster_whisper.download:Got: {'model.bin': '', 'config.json': '', 'vocabulary.txt': ''}
INFO:__main__:Downloading FasterWhisperModel.TINY to /data
Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1417, in connect
super().connect()
File "/usr/lib/python3.9/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 822, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 136, in <module>
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/__main__.py", line 78, in main
model_dir = download_model(model, args.download_dir)
File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/download.py", line 90, in download_model
with urlopen(model_url) as response:
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
WARNING:wyoming_faster_whisper.download:Model hashes do not match
WARNING:wyoming_faster_whisper.download:Expected: {'config.json': 'e5a2f85afc17f73960204cad2b002633', 'model.bin': 'c21f8eccfdc11978e9496dcb731c54e2', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
WARNING:wyoming_faster_whisper.download:Got: {'model.bin': '', 'config.json': '', 'vocabulary.txt': ''}
WARNING:wyoming_faster_whisper.download:Model hashes do not match
WARNING:wyoming_faster_whisper.download:Expected: {'config.json': 'e5a2f85afc17f73960204cad2b002633', 'model.bin': 'c21f8eccfdc11978e9496dcb731c54e2', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
WARNING:wyoming_faster_whisper.download:Got: {'model.bin': '', 'config.json': '', 'vocabulary.txt': ''}
INFO:__main__:Downloading FasterWhisperModel.TINY to /data
Woher will er die Dateien laden?... bei whisper find ich das nicht so einfach
die die ich fand passen scheinbar nicht
https://huggingface.co/guillaumekln/fa ... /tree/main
WARNING:wyoming_faster_whisper.download:Model hashes do not match