summaryrefslogtreecommitdiff
path: root/cli/app
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-10 14:23:22 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-10 14:23:22 +0100
commit95fae85d6a536bd9ac2f9b11567179659620fc28 (patch)
tree0444e7b5805a77d4b5fbb5ce9cd88265e8f69f37 /cli/app
parent1b4874750ab1efa5874947651fe5a04ffc2505f1 (diff)
graph magic
Diffstat (limited to 'cli/app')
-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 e96f0f1..4ffd475 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -228,8 +228,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.swap_ts(encoding_latent, encoding_shape_placeholder)
- tf.contrib.graph_editor.swap_ts(encoding_mix.output, encoding_shape_placeholder)
+ tf.contrib.graph_editor.reroute_ts(encoding_latent, encoding_shape_placeholder)
+ tf.contrib.graph_editor.reroute_ts(encoding_mix.output, encoding_shape_placeholder)
sys.stderr.write("Sin params: {}\n".format(", ".join(self.sin_params.keys())))
sys.stderr.write("Lerp params: {}\n".format(", ".join(self.lerp_params.keys())))