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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py
index 267d7ff..4341130 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -581,6 +581,7 @@ def feature_loss_vgg(feature_extractor, opt_feature_layers, BATCH_SIZE, img_a, i
img_b = tf.image.resize_images(img_b, [resize_height, resize_width])
global scope_index
+ scope_index += 1
scope_a = 'vgg_16_{}_a'.format(scope_index)
scope_b = 'vgg_16_{}_b'.format(scope_index)
gen_fc, gen_feat_ex = nets.vgg.vgg_16(img_a, scope=scope_a)