diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-19 03:07:52 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-19 03:07:52 +0100 |
| commit | 9a5f016517eb98e25e01b1ed61614e98a78871b9 (patch) | |
| tree | 58bbe674b8f79ec1fe99d91453473789b9d6b230 /cli/app | |
| parent | a204f0af70c62f23f57d13f99565b036ae167f03 (diff) | |
reverse label also
Diffstat (limited to 'cli/app')
| -rw-r--r-- | cli/app/search/json.py | 2 | ||||
| -rw-r--r-- | cli/app/search/search_dense.py | 2 |
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 |
