summaryrefslogtreecommitdiff
path: root/cli/app/search/search_dense.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/app/search/search_dense.py')
-rw-r--r--cli/app/search/search_dense.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py
index 7b83952..503d135 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -495,7 +495,7 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op
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)
- vs.save_image('{}/progress_{}_{:04d}.png'.format(SAMPLES_DIR, opt_tag, int(it / 500)), inv_batch)
+ vs.save_image('{}/progress_{}_{:02d}_{:04d}.png'.format(SAMPLES_DIR, opt_tag, out_pos, int(it / 500)), inv_batch)
# Save images that are ready.
label_trained, latent_trained = sess.run([label, latent])