diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-02-14 16:30:16 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-02-14 16:30:16 +0100 |
| commit | 2a4a091d41aebb012a59a586a49d7e95cdf88957 (patch) | |
| tree | 5047f15d1a195ef00a5e030d2d9352a9b19da15c /cli/app/search | |
| parent | c24d0b8631eebb273e57ff0c112564299a8c54bd (diff) | |
vgg feature loss
Diffstat (limited to 'cli/app/search')
| -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 e0f069f..a62d3b6 100644 --- a/cli/app/search/search_dense.py +++ b/cli/app/search/search_dense.py @@ -580,6 +580,7 @@ def feature_loss_vgg(feature_extractor, opt_feature_layers, BATCH_SIZE, img_a, i img_a = tf.image.resize_images(img_a, [resize_height, resize_width]) img_b = tf.image.resize_images(img_b, [resize_height, resize_width]) + global scope_index scope_index += 1 gen_fc, gen_feat_ex = nets.vgg.vgg_16(img_a, scope='vgg_16_{}'.format(scope)) |
