diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-06 14:28:55 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-06 14:28:55 +0100 |
| commit | a45e1915680789b29b46151721212a8bd466b954 (patch) | |
| tree | dc510b79d0abb0870a24350264a98f86eccda949 /cli/app | |
| parent | a5098c8dca8ad18117a105e1fe47205de9b5f5ec (diff) | |
path
Diffstat (limited to 'cli/app')
| -rw-r--r-- | cli/app/commands/biggan/search_class.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
