summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/app/search/search_class.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/search_class.py b/cli/app/search/search_class.py
index 25bc1fd..fb672c3 100644
--- a/cli/app/search/search_class.py
+++ b/cli/app/search/search_class.py
@@ -98,7 +98,7 @@ def find_nearest_vector(sess, generator, opt_fp_in, opt_dims, out_images, out_la
## clip the Z encoding
- opt_clip = 2.0
+ opt_clip = 1.0
clipped_encoding = tf.where(tf.abs(input_z) >= opt_clip,
tf.random.uniform([batch_size, z_dim], minval=-opt_clip, maxval=opt_clip), input_z)