Artrajz / vits-simple-api

A simple VITS HTTP API, developed by extending Moegoe with additional features.
GNU Affero General Public License v3.0
822 stars 121 forks source link

没事啦,我搞明白了,不知道怎么删 #98

Closed yiyun299 closed 1 year ago

yiyun299 commented 1 year ago

下载vits-simple-api-windows-gpu-v0.6.0-alpha.10然后cmd显示这些报错,怎么弄呀

INFO:root:Loading yaml from I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10\config.yml 2023-11-20 14:27:00 [INFO] [ModelManager.load_model:241] Loading failed. [Errno 2] No such file or directory: 'I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10/Model/g/config.json' 2023-11-20 14:27:00 [ERROR] [ModelManager.load_model:242] Traceback (most recent call last): File "I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10\ModelManager.py", line 228, in load_model model_data = self._load_model_from_path(model_path, config_path) File "I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10\ModelManager.py", line 158, in _load_model_from_path hps = utils.get_hparams_from_file(config_path) File "I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10\utils\data_utils.py", line 66, in get_hparams_from_file with open(config_path, 'r', encoding='utf-8') as f: FileNotFoundError: [Errno 2] No such file or directory: 'I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10/Model/g/config.json'

2023-11-20 14:27:00 [INFO] [ModelManager.log_device_info:142] PyTorch Version: 2.0.0+cu118 Cuda available:True Device type:cuda 2023-11-20 14:27:00 [INFO] [ModelManager.log_device_info:147] Using GPU on NVIDIA GeForce RTX 2070 SUPER, GPU Device Index: None 2023-11-20 14:27:00 [INFO] [ModelManager.model_init:95] 0 speakers in total. 2023-11-20 14:27:00 [WARNING] [ModelManager.model_init:97] No model was loaded. 2023-11-20 14:27:00 [INFO] [phrases_dict.phrases_dict_init:30] Loading phrases_dict 2023-11-20 14:27:00 [WARNING] [phrases_dict.load_phrases_from_file:24] File I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10/phrases_dict.txt not found. You can create I:\vits-simple-api-windows-gpu-v0.6.0-alpha.10/phrases_dict.txt and write your phrases_dict. Building prefix dict from the default dictionary ... 2023-11-20 14:27:00 [DEBUG] [init.initialize:113] Building prefix dict from the default dictionary ... Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.cache 2023-11-20 14:27:00 [DEBUG] [init.initialize:132] Loading model from cache C:\Users\ADMINI~1\AppData\Local\Temp\jieba.cache Loading model cost 0.682 seconds. 2023-11-20 14:27:01 [DEBUG] [init.initialize:164] Loading model cost 0.682 seconds. Prefix dict has been built successfully. 2023-11-20 14:27:01 [DEBUG] [init.initialize:166] Prefix dict has been built successfully. 2023-11-20 14:27:02 [DEBUG] [win32._get_localzone_name:58] Looking up time zone info from registry 2023-11-20 14:27:02 [INFO] [base.start:181] Scheduler started 2023-11-20 14:27:02 [INFO] [base._real_add_job:895] Added job "clean_task" to job store "default"