diff --git a/tools/export_onnx.py b/tools/export_onnx.py index a38f943..822e09e 100644 --- a/tools/export_onnx.py +++ b/tools/export_onnx.py @@ -1,5 +1,5 @@ import torch -from lib.infer_pack.models_onnx import SynthesizerTrnMsNSFsidM +from infer.lib.infer_pack.models_onnx import SynthesizerTrnMsNSFsidM if __name__ == "__main__": MoeVS = True # 模型是否为MoeVoiceStudio(原MoeSS)使用 diff --git a/tools/onnx_inference_demo.py b/tools/onnx_inference_demo.py index 03bb868..bd9ef1c 100644 --- a/tools/onnx_inference_demo.py +++ b/tools/onnx_inference_demo.py @@ -1,6 +1,6 @@ import soundfile -from ..lib.infer_pack.onnx_inference import OnnxRVC +from ..infer.lib.infer_pack.onnx_inference import OnnxRVC hop_size = 512 sampling_rate = 40000 # 采样率