mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
optimize: move vc_infer_pipeline to lib.train
This commit is contained in:
parent
8c36dc2cc7
commit
e67cf66fe0
2
app.py
2
app.py
@ -7,7 +7,7 @@ import librosa
|
||||
import numpy as np
|
||||
import logging
|
||||
from fairseq import checkpoint_utils
|
||||
from vc_infer_pipeline import VC
|
||||
from lib.train.vc_infer_pipeline import VC
|
||||
import traceback
|
||||
from config import defaultconfig as config
|
||||
from lib.infer_pack.models import (
|
||||
|
@ -35,7 +35,7 @@ from lib.infer_pack.models_onnx import SynthesizerTrnMsNSFsidM
|
||||
from infer_uvr5 import _audio_pre_, _audio_pre_new
|
||||
from lib.audio import load_audio
|
||||
from lib.train.process_ckpt import change_info, extract_small_model, merge, show_info
|
||||
from vc_infer_pipeline import VC
|
||||
from lib.train.vc_infer_pipeline import VC
|
||||
from sklearn.cluster import MiniBatchKMeans
|
||||
|
||||
logging.getLogger("numba").setLevel(logging.WARNING)
|
||||
|
@ -109,7 +109,7 @@ print(sys.argv)
|
||||
config = Config(device, is_half)
|
||||
now_dir = os.getcwd()
|
||||
sys.path.append(now_dir)
|
||||
from vc_infer_pipeline import VC
|
||||
from lib.train.vc_infer_pipeline import VC
|
||||
from lib.infer_pack.models import (
|
||||
SynthesizerTrnMs256NSFsid,
|
||||
SynthesizerTrnMs256NSFsid_nono,
|
||||
|
@ -7,7 +7,7 @@ from lib.infer_pack.models import (
|
||||
SynthesizerTrnMs768NSFsid,
|
||||
SynthesizerTrnMs768NSFsid_nono,
|
||||
)
|
||||
from vc_infer_pipeline import VC
|
||||
from lib.train.vc_infer_pipeline import VC
|
||||
from multiprocessing import cpu_count
|
||||
import numpy as np
|
||||
import torch
|
||||
|
Loading…
Reference in New Issue
Block a user