mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-08 03:55:47 +08:00
fix(train): save small model fail
This commit is contained in:
@@ -8,6 +8,7 @@ logger = logging.getLogger(__name__)
|
||||
from functools import lru_cache
|
||||
from time import time
|
||||
|
||||
import faiss
|
||||
import librosa
|
||||
import numpy as np
|
||||
import parselmouth
|
||||
@@ -330,7 +331,6 @@ class Pipeline(object):
|
||||
and os.path.exists(file_index)
|
||||
and index_rate != 0
|
||||
):
|
||||
if "faiss" not in sys.modules: import faiss
|
||||
try:
|
||||
index = faiss.read_index(file_index)
|
||||
big_npy = index.reconstruct_n(0, index.ntotal)
|
||||
|
||||
Reference in New Issue
Block a user