summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-23 12:40:47 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-23 12:40:47 +0100
commitb25a3e0141c943fd3645a494bf833fcc7ed5d400 (patch)
treefcbd664ee160617cc80211f214e9dc82bbcad915
parent3901f5a1f2ecd9224d6fbdb0eca02d58c670896e (diff)
no staircasing
-rw-r--r--cli/app/search/search_dense.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py
index 36fc230..149b8f6 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -299,7 +299,7 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op
# --------------------------
if params.decay_lr:
lrate = tf.train.exponential_decay(params.lr, inv_step,
- params.inv_it / params.decay_n, 0.1, staircase=True)
+ params.inv_it / params.decay_n, 0.1) #, staircase=True)
else:
lrate = tf.constant(params.lr)
# trained_params = [label, latent, encoding]