diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-18 18:49:39 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-18 18:49:39 +0100 |
| commit | 0a696fed6b5e9379fe15d3643fccb50ed27de88a (patch) | |
| tree | 2a6beab996257a9173a6cf403b95218a1f9cf29c /cli/app/search | |
| parent | 6eccda23d860e779efd0f2c5650dbd1256cda9c2 (diff) | |
simple sum
Diffstat (limited to 'cli/app/search')
| -rw-r--r-- | cli/app/search/search_dense.py | 4 |
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) |
