From 95fae85d6a536bd9ac2f9b11567179659620fc28 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 10 Jan 2020 14:23:22 +0100 Subject: graph magic --- cli/app/search/live.py | 4 ++-- 1 file 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()))) -- cgit v1.2.3-70-g09d2