summaryrefslogtreecommitdiff
path: root/cli/app/search/search_dense.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-02-16 11:21:34 +0100
committerJules Laplace <julescarbon@gmail.com>2020-02-16 11:21:34 +0100
commit25befff0209c08617cd3b7a4df0a155fe5e1ea2f (patch)
treec78329f7f75d089458013adbe13f28eaa9107432 /cli/app/search/search_dense.py
parent20feb8038ede472d5004615034ec03f23a378c48 (diff)
scope
Diffstat (limited to 'cli/app/search/search_dense.py')
-rw-r--r--cli/app/search/search_dense.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py
index b2e05a4..1eee22c 100644
--- a/cli/app/search/search_dense.py
+++ b/cli/app/search/search_dense.py
@@ -593,8 +593,8 @@ def feature_loss_vgg(feature_extractor, opt_feature_layers, BATCH_SIZE, img_a, i
# gen_fc, gen_feat_ex = nets.vgg.vgg_16(img_a, scope=scope_a) #, reuse=True)
# target_fc, target_feat_ex = nets.vgg.vgg_16(img_b, scope=scope_b) #, reuse=True)
with slim.arg_scope(nets.vgg.vgg_arg_scope()):
- gen_fc, gen_feat_ex = vgg.vgg_16(img_a) #, reuse=True)
- target_fc, target_feat_ex = vgg.vgg_16(img_b) #, reuse=True)
+ gen_fc, gen_feat_ex = nets.vgg.vgg_16(img_a) #, reuse=True)
+ target_fc, target_feat_ex = nets.vgg.vgg_16(img_b) #, reuse=True)
# gen_feat_ex = feature_extractor(dict(images=img_a), as_dict=True, signature='image_feature_vector')
# target_feat_ex = feature_extractor(dict(images=img_b), as_dict=True, signature='image_feature_vector')