diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-14 17:06:50 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-14 17:06:50 +0100 |
| commit | 3efc333ae78dc50d005174f1fa18e56973e72c9a (patch) | |
| tree | 77ac35165a51cdb35116145912c9bfdbf0455fc3 /cli/app/search/search_dense.py | |
| parent | 887feafc4a9bb8fb818bfed208fdafb1cd21b5fc (diff) | |
vgg feature loss
Diffstat (limited to 'cli/app/search/search_dense.py')
| -rw-r--r-- | cli/app/search/search_dense.py | 1 |
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) |
