voice-changer icon indicating copy to clipboard operation
voice-changer copied to clipboard

error with start_http.bat

Open libaoli opened this issue 1 year ago • 7 comments

Description

When I ran the script start_http.bat, the following error messages were gotten. How can I solve this problem? Thanks in advance.

D:\MMVCServerSIO>start_http.bat

D:\MMVCServerSIO>MMVCServerSIO.exe -p 18888 --https false --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --content_vec_500_onnx pretrain/content_vec_500.onnx --content_vec_500_onnx_on true --hubert_base pretrain/hubert_base.pt --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --crepe_onnx_full pretrain/crepe_onnx_full.onnx --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx --rmvpe pretrain/rmvpe.pt --model_dir model_dir --samples samples.json Booting PHASE :main PYTHON:3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Activating the Voice Changer. HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/raw/main/ddsp-svc30/nsf_hifigan_20221211/config.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B15555C90>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/resolve/main/ddsp-svc30/embedder/hubert-soft-0d54a1f4.pt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B15554BB0>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/resolve/main/crepe/onnx/full.onnx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B1558C220>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/resolve/main/ddsp-svc30/nsf_hifigan_20221211/model.bin (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B155555D0>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/resolve/main/ddsp-svc30/nsf_hifigan_onnx_20221211/nsf_hifigan.onnx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B155577F0>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/resolve/main/rmvpe/rmvpe.pt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B1558DA50>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /rinna/japanese-hubert-base/resolve/main/fairseq/model.pt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B15507C10>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /ddPn08/rvc-webui-models/resolve/main/embeddings/hubert_base.pt (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B15507E50>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights_gpl/resolve/main/content-vec/contentvec-f.onnx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B1558D6F0>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights_gpl/resolve/main/rmvpe/rmvpe_s.onnx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B1558DC30>, 'Connection to huggingface.co timed out. (connect timeout=None)')) HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/resolve/main/crepe/onnx/tiny.onnx (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B1558CDC0>, 'Connection to huggingface.co timed out. (connect timeout=None)')) failed to download weight for rvc

libaoli avatar Sep 21 '23 15:09 libaoli

HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wok000/weights/raw/main/ddsp-svc30/nsf_hifigan_20221211/config.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000029B15555C90>, 'Connection to huggingface.co timed out. (connect timeout=None)'))

check your network setting.

w-okada avatar Sep 21 '23 16:09 w-okada

Thanks for your quick response! Is there a way to download the required data once and use them locally afterwards?

libaoli avatar Sep 22 '23 02:09 libaoli

The download will only be executed during the initial startup.

w-okada avatar Sep 22 '23 15:09 w-okada

but it does try to connect to the huggingface website again after the first time running. Without vpn or proxy, it will be stucked when it is launched even though the initial startup has already downloaded the required model data.

libaoli avatar Sep 23 '23 05:09 libaoli

ah, maybe you are right. some json file should be downloaded. hummm...

w-okada avatar Sep 29 '23 06:09 w-okada

It means that you need to have an internet when starting the app. Can you make it completely offline please? After the first run, I mean. Currently, I can not open it as the huggingface website is down for the last 2 hours. And this is such a pain.

amarnamarpan avatar Feb 28 '24 23:02 amarnamarpan

samples_0003.zip Here are the three json files, I do not know if they are fully up to date, my files are dated 2024-01-03, but by replacing the broken ones and marking them readonly I was able to get the app to launch.

BlueAmulet avatar Feb 29 '24 00:02 BlueAmulet