diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-10 15:44:32 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-10 15:44:32 +0100 |
| commit | 2296ffe47783dfce4a61fb2ed2a7bcf5b65ce817 (patch) | |
| tree | 8d955f5125304817f4d0df4074048c4779264496 | |
| parent | 5852035247313594ad6ca240ccf52eee56832d7c (diff) | |
graph magic
| -rw-r--r-- | cli/app/search/live.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()))) |
