summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-18 18:15:59 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-18 18:15:59 +0100
commit90280d760c677ec9e673d0f1f2b9136eddf7e91b (patch)
tree8f45cf8ac53ff411aaf6eaa1d0abe805023cf3d6
parent282ca0f8acc13779969384aefb780d413cf8bb73 (diff)
parameter smoothing
-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 e6e844c..d36e0a9 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -250,7 +250,7 @@ class Interpolator:
z_mix = LerpParam('saturation_mix', a_in=z_sum, b_in=z_abs, shape=[BATCH_SIZE, Z_DIM], datatype="input")
# Latent - disentangled vectors
- zoom = InterpolatorParam(name='zoom', value=0.0, smooth=True).variable * self.disentangled['zoom']
+ zoom = InterpolatorParam(name='zoom', value=0.0, smooth=True).variable * self.disentangled['zoom'] * -1
shiftx = InterpolatorParam(name='shiftx', value=0.0, smooth=True).variable * self.disentangled['shiftx']
shifty = InterpolatorParam(name='shifty', value=0.0, smooth=True).variable * self.disentangled['shifty']
luminance = InterpolatorParam(name='luminance', value=0.0, smooth=True).variable * self.disentangled['luminance']