1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-06 17:50:25 +08:00

fix(train): save small model fail

This commit is contained in:
源文雨
2024-06-04 04:07:19 +09:00
parent 5df99f2f73
commit 481f14dd74
8 changed files with 71 additions and 53 deletions

View File

@@ -2,8 +2,6 @@ import os
from fairseq import checkpoint_utils
from configs import singleton_variable
def get_index_path_from_model(sid):
return next(
@@ -22,7 +20,6 @@ def get_index_path_from_model(sid):
)
@singleton_variable
def load_hubert(device, is_half):
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
["assets/hubert/hubert_base.pt"],