summaryrefslogtreecommitdiff
path: root/cli/app
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-02-18 18:49:39 +0100
committerJules Laplace <julescarbon@gmail.com>2020-02-18 18:49:39 +0100
commit0a696fed6b5e9379fe15d3643fccb50ed27de88a (patch)
tree2a6beab996257a9173a6cf403b95218a1f9cf29c /cli/app
parent6eccda23d860e779efd0f2c5650dbd1256cda9c2 (diff)
simple sum
Diffstat (limited to 'cli/app')
-rw-r--r--cli/app/search/search_dense.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py
index f869edc..a2bdad3 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -472,9 +472,9 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op
# Save target images and reconstructions.
if opt_save_progress:
assert SAMPLE_SIZE <= BATCH_SIZE
- gen_time = time.time()
+ # gen_time = time.time()
gen_images = sess.run(gen_img)
- print("Generation time: {:.1f}s".format(time.time() - gen_time))
+ # print("Generation time: {:.1f}s".format(time.time() - gen_time))
inv_batch = vs.interleave(vs.data2img(image_batch[BATCH_SIZE - SAMPLE_SIZE:]),
vs.data2img(gen_images[BATCH_SIZE - SAMPLE_SIZE:]))
inv_batch = vs.grid_transform(inv_batch)