summaryrefslogtreecommitdiff
path: root/cli/app
diff options
context:
space:
mode:
Diffstat (limited to 'cli/app')
-rw-r--r--cli/app/search/live.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 2fd4160..e96f0f1 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -222,7 +222,7 @@ class Interpolator:
encoding_shape = [1,] + encoding_latent.get_shape().as_list()[1:]
print(encoding_shape)
- encoding_shape_placeholder = tf.constant(np.zeros(encoding_shape))
+ encoding_shape_placeholder = tf.constant(np.zeros(encoding_shape, dtype=np.float32))
encoding_stored = LerpParam('encoding_stored', shape=encoding_shape, datatype="encoding")
encoding_mix = LerpParam('encoding_mix', a_in=encoding_latent, b_in=encoding_shape_placeholder, shape=encoding_shape, datatype="encoding")
# use the placeholder to redirect parts of the graph.