diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-14 20:10:45 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-14 20:10:45 +0100 |
| commit | 536dc2710d7a9449fe7e2da79d79feee62b7a828 (patch) | |
| tree | 24a64318b1cbb4ebadfa5c75b6db4ec93c540cb7 /cli/app/search/search_dense.py | |
| parent | f91ed4899d5706c7771327269e69fa9ae4a10f9f (diff) | |
fixes
Diffstat (limited to 'cli/app/search/search_dense.py')
| -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 7d3fd2a..1f08e24 100644 --- a/cli/app/search/search_dense.py +++ b/cli/app/search/search_dense.py @@ -227,7 +227,7 @@ def find_dense_embedding_for_images(params, opt_tag="inverse_" + timestamp(), op # # feat_loss += tf.reduce_mean(feat_square_diff) * 0.17 # # img_feat_err += tf.reduce_mean(feat_square_diff, axis=1) * 0.17 - feat_square_diff = tf.constant(0.0) + feat_loss = tf.constant(0.0) img_feat_err = tf.constant(0.0) for layer in opt_feature_layers: |
