diff options
| -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 a07e15b..96ed4af 100644 --- a/cli/app/search/search_dense.py +++ b/cli/app/search/search_dense.py @@ -441,8 +441,8 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op if out_i >= NUM_IMGS: print("{} >= {}, skipping...".format(out_i, NUM_IMGS)) continue - print("{}: {}".format(out_i, sample_fn)) sample_fn, ext = os.path.splitext(sample_fns[out_i]) + print("{}: {}".format(out_i, sample_fn)) image = Image.fromarray(images[i]) fp = BytesIO() image.save(fp, format='png') |
