Open tomyHHC opened 7 months ago
自动通过 api 下不了的话,试试访问网页手动下载也可以的。 FunASR 需要这三个模型。
https://modelscope.cn/models/iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/files
https://modelscope.cn/models/iic/speech_fsmn_vad_zh-cn-16k-common-pytorch/files
https://modelscope.cn/models/iic/punc_ct-transformer_zh-cn-common-vocab272727-pytorch/files
然后这三个模型文件夹放到 tools/asr/models
里就行。
自动通过 api 下不了的话,试试访问网页手动下载也可以的。 FunASR 需要这三个模型。
https://modelscope.cn/models/iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/files https://modelscope.cn/models/iic/speech_fsmn_vad_zh-cn-16k-common-pytorch/files https://modelscope.cn/models/iic/punc_ct-transformer_zh-cn-common-vocab272727-pytorch/files
然后这三个模型文件夹放到
tools/asr/models
里就行。
我試著git下載 發現其中兩個下載到後來 都出現error 分析一下 似乎都卡在model.pt上 目前除了 speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/model.pt 無法下載完成外(直接卡住不動)其他都可以
請問有誰能提供 speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/model.pt 這個檔案呢?
You could also download them from hf:
https://huggingface.co/funasr/SeACo-Paraformer-large https://huggingface.co/funasr/fsmn-vad https://huggingface.co/funasr/ct-punc
點擊 Start Batch ASR 出錯:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/content/GPT-SoVITS/tools/asr/funasr_asr.py", line 17, in
model = AutoModel(
File "/usr/local/lib/python3.9/site-packages/funasr/auto/auto_model.py", line 92, in init
model, kwargs = self.build_model(kwargs)
File "/usr/local/lib/python3.9/site-packages/funasr/auto/auto_model.py", line 143, in build_model
kwargs = download_model(kwargs)
File "/usr/local/lib/python3.9/site-packages/funasr/download/download_from_hub.py", line 11, in download_model
kwargs = download_from_ms(kwargs)
File "/usr/local/lib/python3.9/site-packages/funasr/download/download_from_hub.py", line 21, in download_from_ms
model_or_path = get_or_download_model_dir(model_or_path, model_revision, is_training=kwargs.get("is_training"), check_latest=kwargs.get("kwargs", True))
File "/usr/local/lib/python3.9/site-packages/funasr/download/download_from_hub.py", line 104, in get_or_download_model_dir
model_cache_dir = snapshot_download(
File "/usr/local/lib/python3.9/site-packages/modelscope/hub/snapshot_download.py", line 96, in snapshot_download
revision = _api.get_valid_revision(
File "/usr/local/lib/python3.9/site-packages/modelscope/hub/api.py", line 478, in get_valid_revision
all_revisions = self.list_model_revisions(
File "/usr/local/lib/python3.9/site-packages/modelscope/hub/api.py", line 446, in list_model_revisions
r = self.session.get(path, cookies=cookies,
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 510, in send
raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='www.modelscope.cn', port=443): Max retries exceeded with url: /api/v1/models/iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/revisions?EndTime=1712801397 (Caused by ResponseError('too many 502 error responses'))
請問這是什麼問題呢?太多人使用Modelscope而無法連線下載嗎?要如何解決?