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

about the pretrain when training #25

Open
yyh565655555 opened this issue Sep 30, 2023 · 2 comments
Open

about the pretrain when training #25

yyh565655555 opened this issue Sep 30, 2023 · 2 comments

Comments

@yyh565655555
Copy link

'HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /charactr/vocos-mel-24khz/resolve/main/config.yaml (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001B8B793E310>, 'Connection to huggingface.co timed out. (connect timeout=10)'))' thrown while requesting HEAD https://huggingface.co/charactr/vocos-mel-24khz/resolve/main/config.yaml
Traceback (most recent call last):
File "E:\pythoncode\NS2VC-vc-v2\train.py", line 3, in
trainer = Trainer()
File "E:\pythoncode\NS2VC-vc-v2\model.py", line 809, in init
self.vocos = Vocos.from_pretrained("charactr/vocos-mel-24khz")
File "D:\anaconda\envs\pytorch\lib\site-packages\vocos\pretrained.py", line 65, in from_pretrained
config_path = hf_hub_download(repo_id=repo_id, filename="config.yaml")
File "D:\anaconda\envs\pytorch\lib\site-packages\huggingface_hub\utils_validators.py", line 124, in _inner_fn
return fn(*args, **kwargs)
File "D:\anaconda\envs\pytorch\lib\site-packages\huggingface_hub\file_download.py", line 1211, in hf_hub_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the disk cache. Please try again or make sure your Internet connection is on.

sorry to bother you again, when i was traning, it seems that the download of pretrain of vocos fails, but my network is ok,
how can i fix it?

@adelacvg
Copy link
Owner

adelacvg commented Oct 2, 2023

You can download and load the model from Hugging Face yourself. Modify the function from_pretrained in the Vocos class to the model's local path. Hope this helps you.

@yyh565655555
Copy link
Author

sorry to bother again, i want to know the details of loading local model,
JV$(B)90(P9HO3BFXZUZQ95
~D A_F%J)NMO}PR7F( 3JGJ

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

2 participants