From 7348815c67b7b903fa23198a0fa42e6cd641b303 Mon Sep 17 00:00:00 2001 From: Ftps <63702646+Tps-F@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:14:11 +0900 Subject: [PATCH] fix import --- tools/export_onnx.py | 2 +- tools/onnx_inference_demo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 # 采样率