NS2VC icon indicating copy to clipboard operation
NS2VC copied to clipboard

about the pretrain when training

Open yyh565655555 opened this issue 1 year ago • 2 comments

'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?

yyh565655555 avatar Sep 30 '23 11:09 yyh565655555

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.

adelacvg avatar Oct 02 '23 13:10 adelacvg

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

yyh565655555 avatar Oct 26 '23 09:10 yyh565655555