logo
Browse Source

Resolve module import issue

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 3 years ago
parent
commit
332341ba05
  1. 6
      vggish.py

6
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()

Loading…
Cancel
Save