1
0
mirror of synced 2024-11-24 07:30:16 +01:00

fix: hubert

This commit is contained in:
源文雨 2023-08-30 00:29:57 +08:00
parent 8599b1e9ff
commit 5f5ec4749c

View File

@ -33,7 +33,7 @@ from scipy.io import wavfile
device = torch.device("cuda" if torch.cuda.is_available() else "cpu") device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model_path = r"E:\codes\py39\vits_vc_gpu_train\hubert_base.pt" # model_path = r"E:\codes\py39\vits_vc_gpu_train\assets\hubert\hubert_base.pt" #
print("load model(s) from {}".format(model_path)) print("load model(s) from {}".format(model_path))
models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task( models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task(
[model_path], [model_path],