From 2296ffe47783dfce4a61fb2ed2a7bcf5b65ce817 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 10 Jan 2020 15:44:32 +0100 Subject: graph magic --- cli/app/search/live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/app/search/live.py b/cli/app/search/live.py index 365e2c6..15fb754 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -230,7 +230,7 @@ class Interpolator: # - 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_shape_placeholder, encoding_mix.output) + tf.contrib.graph_editor.swap_ts(encoding_shape_placeholder, tf.convert_to_tensor(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()))) -- cgit v1.2.3-70-g09d2