-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello,
Thanks for providing this docker-Image.
When executing whisperx in a docker container,
app# whisperx input.mp3 --compute_type int8 --language en --hf_token
I receive the following error:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/site-packages/whisperx/transcribe.py", line 222, in
cli()
File "/usr/local/lib/python3.10/site-packages/whisperx/transcribe.py", line 162, in cli
model = load_model(model_name, device=device, device_index=device_index, compute_type=compute_type, language=args['language'], asr_options=asr_options, vad_options={"vad_onset": vad_onset, "vad_offset": vad_offset}, task=task, threads=faster_whisper_threads)
File "/usr/local/lib/python3.10/site-packages/whisperx/asr.py", line 105, in load_model
vad_model = load_vad_model(torch.device(device), use_auth_token=None, **default_vad_options)
File "/usr/local/lib/python3.10/site-packages/whisperx/vad.py", line 29, in load_vad_model
with urllib.request.urlopen(VAD_SEGMENTATION_URL) as source, open(model_fp, "wb") as output:
File "/usr/local/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/local/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/local/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/local/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 301: Moved Permanently
When I try to manually download the VAD_SEGMENTATION_URL https://whisperx.s3.eu-west-2.amazonaws.com/model_weights/segmentation/0b5b3216d60a2d32fc086b47ea8c67589aaeb26b7e07fcbe620d6d0b83e209ea/pytorch_model.bin", I see an error 302 as well.
The browser returns:
PermanentRedirect
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
whisperx.s3-us-west-2.amazonaws.com
whisperx
R576K65D3GS41SMQ
aCmdXZkbUO1EpO6LK6FJv7SoITbxFObSbrP9a+Z1YQTBoViVCnfvaXztbDtnxg4Qc/2hl4Lp9KD/f7Lr+UXakDXNO8KJq4XQ
What can I do to resolve this problem?
Thanks in advance
Uli