summaryrefslogtreecommitdiff
path: root/cli/app/search/live.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-02-22 17:18:39 +0100
committerJules Laplace <julescarbon@gmail.com>2020-02-22 17:18:39 +0100
commitecc9df4237e09828cf387bf8dd1fda8617c4898d (patch)
tree4c9046d60200594f640d407758ee11b3898f1851 /cli/app/search/live.py
parent4507a1538b8af43ca8c5f22306b19d13a15ad542 (diff)
incorporate layers into live script
Diffstat (limited to 'cli/app/search/live.py')
-rw-r--r--cli/app/search/live.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index c9bec1a..b5d547a 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -321,7 +321,7 @@ class Interpolator:
tensor_name = 'module_apply_{}/Generator_2/split:{}'.format(gen_signature, layer_id + 1)
layer_tensor = tf.get_default_graph().get_tensor_by_name(tensor_name)
-x op_name = 'module_apply_{}/{}'.format(gen_signature, op_name)
+ op_name = 'module_apply_{}/{}'.format(gen_signature, op_name)
layer_op = tf.get_default_graph().get_operation_by_name(op_name)
## unlike the encoding, here we update the layer op directly, so we don't need a temporary constant to swap