diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-15 21:35:20 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-15 21:35:20 +0100 |
| commit | fbf7e6f3968beb7df30f20e99f494f03aafbb939 (patch) | |
| tree | dae125d8adbe9047d61a4639c43b3cb1fbffac37 | |
| parent | 9eee6fed39e01448eb19b25a0103ab952883eb13 (diff) | |
params...
| -rw-r--r-- | cli/app/search/search_dense.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py index 56228cd..6bd73ce 100644 --- a/cli/app/search/search_dense.py +++ b/cli/app/search/search_dense.py @@ -329,7 +329,7 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op NUM_IMGS = sample_images.shape[0] # number of images to be inverted. if NUM_IMGS < BATCH_SIZE: BATCH_SIZE = NUM_IMGS - SAMPLE_SIZE = NUM_IMS + SAMPLE_SIZE = NUM_IMGS print("Number of images: {}".format(NUM_IMGS)) print("Batch size: {}".format(BATCH_SIZE)) def sample_images_gen(): |
