From 288b27c004959ae25bb637072e945a5b07b5abe5 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 16 Jan 2020 12:56:05 +0100 Subject: ugh --- cli/app/search/search_dense.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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') -- cgit v1.2.3-70-g09d2