summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-02-16 11:01:40 +0100
committerJules Laplace <julescarbon@gmail.com>2020-02-16 11:01:40 +0100
commit91ac0c68b63639ab545b35ad98aa31e4783dfef1 (patch)
tree0ffdb8d54332033f21e5d5defeb8e5e4cf1b589f /cli
parent920767526bc39277b6069368f42d57e137ed93a8 (diff)
scope
Diffstat (limited to 'cli')
-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 bb6f636..18c430e 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -567,7 +567,7 @@ def feature_loss_tfhub(feature_extractor, opt_feature_layers, BATCH_SIZE, img_a,
return feat_loss / len(opt_feature_layers), img_feat_err / len(opt_feature_layers)
scope_index = 0
-vgg_model = tf.make_template(nets.vgg.vgg_16)
+vgg_model = tf.make_template('vgg16', nets.vgg.vgg_16, is_training=False)
def feature_loss_vgg(feature_extractor, opt_feature_layers, BATCH_SIZE, img_a, img_b, y, x, height, width, resize_height=None, resize_width=None):
height = int(height)
width = int(width)