diff options
Diffstat (limited to 'cli/app/commands/biggan')
| -rw-r--r-- | cli/app/commands/biggan/extract_dense_vectors.py | 6 | ||||
| -rw-r--r-- | cli/app/commands/biggan/search_dense.py | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/cli/app/commands/biggan/extract_dense_vectors.py b/cli/app/commands/biggan/extract_dense_vectors.py index 866104d..4e7952a 100644 --- a/cli/app/commands/biggan/extract_dense_vectors.py +++ b/cli/app/commands/biggan/extract_dense_vectors.py @@ -69,4 +69,8 @@ def cli(ctx, opt_folder_id, opt_latent_steps, opt_dense_steps, opt_video, opt_re ) params = params_dense_dict(tag, folder_id=folder['id']) - find_dense_embedding_for_images(params) + find_dense_embedding_for_images(params, + opt_tag=tag, + opt_feature_layers=opt_feature_layers, + opt_save_progress=False) + diff --git a/cli/app/commands/biggan/search_dense.py b/cli/app/commands/biggan/search_dense.py index b743350..b514ab0 100644 --- a/cli/app/commands/biggan/search_dense.py +++ b/cli/app/commands/biggan/search_dense.py @@ -19,4 +19,7 @@ def cli(ctx, opt_fp_in, opt_tag, opt_feature_layers, opt_save_progress): """ params = Params(opt_fp_in) opt_feature_layers = opt_feature_layers.split(',') - find_dense_embedding_for_images(params, opt_tag=opt_tag, opt_feature_layers=opt_feature_layers, opt_save_progress=opt_save_progress) + find_dense_embedding_for_images(params, + opt_tag=opt_tag, + opt_feature_layers=opt_feature_layers, + opt_save_progress=opt_save_progress) |
