diff --git a/vggish.py b/vggish.py index 9dcadb4..59fe732 100644 --- a/vggish.py +++ b/vggish.py @@ -13,7 +13,10 @@ # limitations under the License. import logging +import warnings + import os +import sys import numpy from pathlib import Path @@ -23,10 +26,9 @@ 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 -import warnings - warnings.filterwarnings('ignore') log = logging.getLogger()