diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-18 18:49:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-18 18:49:15 +0100 |
| commit | 6eccda23d860e779efd0f2c5650dbd1256cda9c2 (patch) | |
| tree | 3c32be0981234f6457ab357c350e81fce2c65372 /cli/app/search/search_dense.py | |
| parent | 0cc49c15cbf495ee9d50d4f420013e03adf0bedc (diff) | |
simple sum
Diffstat (limited to 'cli/app/search/search_dense.py')
| -rw-r--r-- | cli/app/search/search_dense.py | 4 |
1 files 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, |
