From 0a696fed6b5e9379fe15d3643fccb50ed27de88a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 18 Feb 2020 18:49:39 +0100 Subject: simple sum --- cli/app/search/search_dense.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') 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) -- cgit v1.2.3-70-g09d2