whenever i try to load english model of the wespeaker I am getting the following SSL error can anyone please help regarding this
import wespeaker
model = wespeaker.load_model('english')
Downloading https://dataset-hub.oss-cn-hangzhou.aliyuncs.com/public-unzip-dataset/wenet/wespeaker_pretrained_models/master/voxceleb_resnet221_LM.tar.gz?Expires=1722200507&OSSAccessKeyId=LTAI5tAoCEDFQFyV5h8unjt8&Signature=N5xIPJRkKozwpe46SZFm3zGVSS8%3D&response-content-disposition=attachment%3B to /home/vinay/.wespeaker/english
voxceleb_resnet221_LM.tar.gz: 0.00B [00:00, ?B/s]
Traceback (most recent call last):
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 1344, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/http/client.py", line 1336, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/http/client.py", line 1382, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/http/client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/http/client.py", line 1091, in _send_output
self.send(msg)
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/http/client.py", line 1035, in send
self.connect()
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/http/client.py", line 1477, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/ssl.py", line 455, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/ssl.py", line 1042, in _create
self.do_handshake()
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/ssl.py", line 1320, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL] unknown error (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/vinay/goodmeetings_code/MeetingData/wespeaker/wespeaker/cli/speaker.py", line 337, in load_model
model_path = Hub.get_model(language)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/goodmeetings_code/MeetingData/wespeaker/wespeaker/cli/hub.py", line 101, in get_model
download(model_url, model_dir)
File "/home/vinay/goodmeetings_code/MeetingData/wespeaker/wespeaker/cli/hub.py", line 52, in download
urlretrieve(url,
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 240, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 515, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 532, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 1392, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 1347, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL] unknown error (_ssl.c:1000)>
Can you check your network connection? It seems I can directly download the model by clicking the link in your post, which indicates that the download link should be working correctly.
whenever i try to load english model of the wespeaker I am getting the following SSL error can anyone please help regarding this
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "/home/vinay/goodmeetings_code/MeetingData/wespeaker/wespeaker/cli/speaker.py", line 337, in load_model
model_path = Hub.get_model(language)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/goodmeetings_code/MeetingData/wespeaker/wespeaker/cli/hub.py", line 101, in get_model
download(model_url, model_dir)
File "/home/vinay/goodmeetings_code/MeetingData/wespeaker/wespeaker/cli/hub.py", line 52, in download
urlretrieve(url,
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 240, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 515, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 532, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 1392, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vinay/anaconda3/envs/vectordb/lib/python3.12/urllib/request.py", line 1347, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL] unknown error (_ssl.c:1000)>