summaryrefslogtreecommitdiff
path: root/cli/app
diff options
context:
space:
mode:
Diffstat (limited to 'cli/app')
-rw-r--r--cli/app/search/json.py2
-rw-r--r--cli/app/search/search_dense.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/json.py b/cli/app/search/json.py
index 2eeaeca..3cfc698 100644
--- a/cli/app/search/json.py
+++ b/cli/app/search/json.py
@@ -103,7 +103,7 @@ def make_params_dense(tag, folder_id):
"out_dataset": os.path.join(app_cfg.DIR_INVERSES, tag, "dataset.dense.hdf5"),
"save_progress": True,
"max_batches": 0,
- "invert_labels": False,
+ "invert_labels": True,
}
def params_dense_dict(tag, folder_id=59):
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py
index 00ae5b3..b2c77f4 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -330,7 +330,7 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op
if params.inv_layer == 'latent':
trained_params = [latent]
else:
- trained_params = [label, latent, encoding]
+ trained_params = [latent, encoding]
if params.invert_labels:
trained_params += layer_label_variables