From 2576600da8004a8af469bb464975b6fd4c8edffc Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Fri, 1 Apr 2022 15:36:32 +0800 Subject: [PATCH] Debug Signed-off-by: Jael Gu --- vggish.py | 1 + vggish_input.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/vggish.py b/vggish.py index cf4b6f8..69c3e3f 100644 --- a/vggish.py +++ b/vggish.py @@ -27,6 +27,7 @@ from towhee.operator.base import NNOperator from towhee.models.vggish.torch_vggish import VGG from towhee import register +sys.path.append(str(Path(__file__).parent)) import vggish_input warnings.filterwarnings('ignore') diff --git a/vggish_input.py b/vggish_input.py index 56e6176..856a406 100644 --- a/vggish_input.py +++ b/vggish_input.py @@ -17,7 +17,6 @@ # Modification: Return torch tensors rather than numpy arrays import torch - import numpy as np import resampy