summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/app/commands/biggan/extract_dense_vectors.py2
-rw-r--r--cli/app/commands/biggan/search_class.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/cli/app/commands/biggan/extract_dense_vectors.py b/cli/app/commands/biggan/extract_dense_vectors.py
index 1109dba..b15d538 100644
--- a/cli/app/commands/biggan/extract_dense_vectors.py
+++ b/cli/app/commands/biggan/extract_dense_vectors.py
@@ -62,7 +62,7 @@ def cli(ctx, opt_folder_id, opt_latent_steps, opt_dense_steps, opt_video, opt_re
opt_limit=-1,
opt_stochastic_clipping=opt_stochastic_clipping,
opt_label_clipping=opt_label_clipping,
- opt_use_feature_detector=opt_use_feature_detector,
+ opt_use_feature_detector=True,
opt_feature_layers=opt_feature_layers,
opt_snapshot_interval=opt_snapshot_interval,
opt_clip_interval=opt_clip_interval,
diff --git a/cli/app/commands/biggan/search_class.py b/cli/app/commands/biggan/search_class.py
index 36f5466..7a7bfdb 100644
--- a/cli/app/commands/biggan/search_class.py
+++ b/cli/app/commands/biggan/search_class.py
@@ -58,7 +58,6 @@ def cli(ctx, opt_folder_id, opt_fp_in, opt_dims, opt_steps, opt_limit, opt_video
print("Must provide either a --folder_id or an --input folder")
opt_feature_layers = opt_feature_layers.split(',')
- opt_use_feature_detector = True
find_nearest_vector_for_images(paths, opt_dims, opt_steps, opt_video, opt_tag, opt_limit,
opt_stochastic_clipping, opt_label_clipping, opt_use_feature_detector, opt_feature_layers, opt_snapshot_interval, opt_clip_interval)