From f3070275b358940b7ccb551dd7b5d03587deed8c Mon Sep 17 00:00:00 2001 From: skbidiap <sushil.bhattacharjee@idiap.ch> Date: Thu, 12 Jan 2017 11:00:08 +0100 Subject: [PATCH] removed package-name in import statements --- bob/ip/facelandmarks/script/detect_landmarks.py | 2 +- bob/ip/facelandmarks/test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bob/ip/facelandmarks/script/detect_landmarks.py b/bob/ip/facelandmarks/script/detect_landmarks.py index d468a26..5e77196 100644 --- a/bob/ip/facelandmarks/script/detect_landmarks.py +++ b/bob/ip/facelandmarks/script/detect_landmarks.py @@ -87,7 +87,7 @@ def main(user_input=None): if args['--verbose'] == 1: logging.getLogger().setLevel(logging.INFO) elif args['--verbose'] >= 2: logging.getLogger().setLevel(logging.DEBUG) - from bob.ip.facelandmarks.utils import detect_landmarks, draw_landmarks, save_landmarks + from ..utils import detect_landmarks, draw_landmarks, save_landmarks data = bob.io.base.load(args['<input>']) top = int(args['--limit-to']) diff --git a/bob/ip/facelandmarks/test.py b/bob/ip/facelandmarks/test.py index 1cda85c..734625b 100644 --- a/bob/ip/facelandmarks/test.py +++ b/bob/ip/facelandmarks/test.py @@ -13,8 +13,8 @@ import pkg_resources import bob.io.base import bob.io.base.test_utils -from bob.ip.facelandmarks.utils import detect_landmarks, draw_landmarks, save_landmarks, Result -from bob.ip.facelandmarks.utils import detect_landmarks_on_boundingbox +from .utils import detect_landmarks, draw_landmarks, save_landmarks, Result +from .utils import detect_landmarks_on_boundingbox from .script.detect_landmarks import main as app -- GitLab