summaryrefslogtreecommitdiff
path: root/cli/app/search/live.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-10 15:30:34 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-10 15:30:34 +0100
commit5852035247313594ad6ca240ccf52eee56832d7c (patch)
treeeee3e161b0b118d4821a7fad196539c5995077fa /cli/app/search/live.py
parent4ad173ed0f8cc623549d2ccbc21114ac28237c4b (diff)
graph magic
Diffstat (limited to 'cli/app/search/live.py')
-rw-r--r--cli/app/search/live.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 63799a1..365e2c6 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -229,8 +229,8 @@ class Interpolator:
# use the placeholder to redirect parts of the graph.
# - computed encoding goes into the encoding_mix
# - encoding mix output goes into the main biggan graph
- tf.contrib.graph_editor.reroute_ts(encoding_latent, encoding_shape_placeholder)
- tf.contrib.graph_editor.reroute_ts(encoding_mix.output, encoding_shape_placeholder)
+ tf.contrib.graph_editor.swap_ts(encoding_latent, encoding_shape_placeholder)
+ tf.contrib.graph_editor.swap_ts(encoding_shape_placeholder, encoding_mix.output)
sys.stderr.write("Sin params: {}\n".format(", ".join(self.sin_params.keys())))
sys.stderr.write("Lerp params: {}\n".format(", ".join(self.lerp_params.keys())))