RVC-Boss / GPT-SoVITS

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)
MIT License
36.08k stars 4.12k forks source link

运行api_v2报错 #1726

Open joseph16388 opened 4 weeks ago

joseph16388 commented 4 weeks ago

---------------------------------------------TTS Config--------------------------------------------- device : cuda is_half : True version : v2 t2s_weights_path : GPT_SoVITS/pretrained_models/gsv-v2final-pretrained/s1bert25hz-5kh-longer-epoch=12-step=369668.ckpt vits_weights_path : GPT_SoVITS/pretrained_models/gsv-v2final-pretrained/s2G2333k.pth bert_base_path : GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large cnhuhbert_base_path : GPT_SoVITS/pretrained_models/chinese-hubert-base

Loading Text2Semantic weights from GPT_SoVITS/pretrained_models/gsv-v2final-pretrained/s1bert25hz-5kh-longer-epoch=12-step=369668.ckpt

XXX\api_v2.py", line 151, in tts_pipeline = TTS(tts_config)

raise RuntimeError( RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

pgz100 commented 20 hours ago

我运行时也报了这个错,请问后面解决了吗?

joseph16388 commented 16 hours ago

我运行时也报了这个错,请问后面解决了吗?

没有