Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asr遇到问题 #1998

Open
zlinwzx147258 opened this issue Jan 24, 2025 · 1 comment
Open

asr遇到问题 #1998

zlinwzx147258 opened this issue Jan 24, 2025 · 1 comment

Comments

@zlinwzx147258
Copy link

"I:\GPT-SoVITS-v2-240821\runtime\python.exe" tools/asr/fasterwhisper_asr.py -i "I:\GPT-SoVITS-v2-240821\voice\yuuka" -o "output\asr_opt" -s large-v3-local -l auto -p float16
Traceback (most recent call last):
File "I:\GPT-SoVITS-v2-240821\tools\asr\fasterwhisper_asr.py", line 9, in
from faster_whisper import WhisperModel
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\faster_whisper_init_.py", line 2, in
from faster_whisper.transcribe import WhisperModel
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\faster_whisper\transcribe.py", line 10, in
import ctranslate2
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\ctranslate2_init_.py", line 53, in
from ctranslate2 import converters, models, specs
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\ctranslate2\converters_init_.py", line 8, in
from ctranslate2.converters.transformers import TransformersConverter
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\ctranslate2\converters\transformers.py", line 14, in
import transformers
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers_init_.py", line 26, in
from . import dependency_versions_check
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\dependency_versions_check.py", line 16, in
from .utils.versions import require_version, require_version_core
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\utils_init_.py", line 61, in
from .hub import (
File "I:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\utils\hub.py", line 94, in
PYTORCH_PRETRAINED_BERT_CACHE = os.getenv("PYTORCH_PRETRAINED_BERT_CACHE", constants.HF_HUB_CACHE)
AttributeError: module 'huggingface_hub.constants' has no attribute 'HF_HUB_CACHE'

Image
显示完成,但并没有文件产生,出现报错

@zlinwzx147258
Copy link
Author

中文asr可以正常进行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant