From 6eccda23d860e779efd0f2c5650dbd1256cda9c2 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 18 Feb 2020 18:49:15 +0100 Subject: simple sum --- cli/app/search/search_dense.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py index 4b0e104..f869edc 100644 --- a/cli/app/search/search_dense.py +++ b/cli/app/search/search_dense.py @@ -457,11 +457,11 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op if it % 500 == 0: # Log losses. etime = time.time() - start_time - print('It [{:8d}] time [{:5.1f}] total [{:.4f}] mse [{:.4f}] ' + + print(('It [{:8d}] time [{:5.1f}] total [{:.4f}] mse [{:.4f}] ' + 'feat [{:.4f}] ' + 'vgg [{:.4f}] ' + 'incep [{:.4f}] ' + - 'lr [{:.4f}]'.format(it, etime, _inv_loss, _mse_loss, + 'lr [{:.4f}]').format(it, etime, _inv_loss, _mse_loss, _feat_loss, _feat_loss_vgg, _feat_loss_inception, -- cgit v1.2.3-70-g09d2