summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-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)