From 8516075a694ea5dcbd1255df1ee8750873953562 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Wed, 10 Jan 2024 21:09:01 +0800 Subject: [PATCH] minor fixes --- scripts/3dspeaker/export-onnx.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/3dspeaker/export-onnx.py b/scripts/3dspeaker/export-onnx.py index b536e0a7f..f2c1b3ed1 100755 --- a/scripts/3dspeaker/export-onnx.py +++ b/scripts/3dspeaker/export-onnx.py @@ -6,17 +6,12 @@ import os import pathlib import re -import sys from typing import Dict -import torch -from modelscope.hub.snapshot_download import snapshot_download - -sys.path.insert(0, "/tmp/3D-Speaker") -sys.path.insert(0, "/tmp/3D-Speaker/speakerlab/bin") - import onnx +import torch from infer_sv import supports +from modelscope.hub.snapshot_download import snapshot_download from speakerlab.utils.builder import dynamic_import