From a45e1915680789b29b46151721212a8bd466b954 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 6 Jan 2020 14:28:55 +0100 Subject: path --- cli/app/commands/biggan/search_class.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/app/commands') diff --git a/cli/app/commands/biggan/search_class.py b/cli/app/commands/biggan/search_class.py index 6339e8b..78b7b2d 100644 --- a/cli/app/commands/biggan/search_class.py +++ b/cli/app/commands/biggan/search_class.py @@ -164,6 +164,8 @@ def load_target_image(opt_fp_in): fn = os.path.basename(opt_fp_in) fbase, ext = os.path.splitext(fn) fp_frames = "frames_{}_{}".format(fbase, int(time.time() * 1000)) - os.makedirs(join(app_cfg.DIR_OUTPUTS, fp_frames), exist_ok=True) + fp_frames_fullpath = join(app_cfg.DIR_OUTPUTS, fp_frames) + print("Output to {}".format(fp_frames_fullpath)) + os.makedirs(fp_frames_fullpath, exist_ok=True) target_im = imread(opt_fp_in) return target_im, fp_frames -- cgit v1.2.3-70-g09d2