diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-14 19:01:49 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-14 19:01:49 +0100 |
| commit | 36c6550ed5cb786e0eb7ed8a0252a1d9d9b2936f (patch) | |
| tree | f52b389c31496ce8c7ca0e6cadf8d2124bdba161 | |
| parent | e35cd817e6573328a987c6f4ffd98b3742eadeda (diff) | |
vgg feature loss
| -rw-r--r-- | cli/app/search/search_dense.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/search_dense.py b/cli/app/search/search_dense.py index 6e0ad09..c589062 100644 --- a/cli/app/search/search_dense.py +++ b/cli/app/search/search_dense.py @@ -589,8 +589,8 @@ def feature_loss_vgg(feature_extractor, opt_feature_layers, BATCH_SIZE, img_a, i # scope_b = 'vgg_16_{}_b'.format(scope_index) scope_a = 'vgg_16' scope_b = 'vgg_16' - 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) + 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_) #, 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') |
