summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-25 20:49:09 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-25 20:49:09 +0100
commit5d0f39e487abb171dd95a50c7994e06bf67f344d (patch)
treed122cdef380d0f32fc3753f789a4ae1c78c5ac91
parent072856bdcad9d666dbf783863f288303e30a2aef (diff)
adjust
-rw-r--r--cli/app/commands/biggan/extract_dense_vectors.py2
-rw-r--r--cli/app/search/json.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/commands/biggan/extract_dense_vectors.py b/cli/app/commands/biggan/extract_dense_vectors.py
index e98a93b..e8f0587 100644
--- a/cli/app/commands/biggan/extract_dense_vectors.py
+++ b/cli/app/commands/biggan/extract_dense_vectors.py
@@ -24,7 +24,7 @@ from app.search.params import timestamp
help='Normalize labels every N steps')
@click.option('-feat', '--use_feature_detector', 'opt_use_feature_detector', is_flag=True,
help='Compute feature loss')
-@click.option('-ll', '--feature_layers', 'opt_feature_layers', default="1a,4a,7a",
+@click.option('-ll', '--feature_layers', 'opt_feature_layers', default="1a,2a,3a,4a,7a",
help='Feature layers used for loss')
@click.option('-snap', '--snapshot_interval', 'opt_snapshot_interval', default=20,
help='Interval to store sample images')
diff --git a/cli/app/search/json.py b/cli/app/search/json.py
index 7873c23..e889587 100644
--- a/cli/app/search/json.py
+++ b/cli/app/search/json.py
@@ -68,7 +68,7 @@ def make_params_dense(tag, folder_id):
"dataset": os.path.join(app_cfg.DIR_INVERSES, tag, "dataset.latent.hdf5"),
"inv_layer": "Generator_2/G_Z/Reshape:0",
"decay_lr": True,
- "inv_it": 10000,
+ "inv_it": 15000,
"generator_path": "https://tfhub.dev/deepmind/biggan-512/2",
"attention_map_layer": "Generator_2/attention/Softmax:0",
"pre_trained_latent": True,