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 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: