From 90280d760c677ec9e673d0f1f2b9136eddf7e91b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 18 Jan 2020 18:15:59 +0100 Subject: parameter smoothing --- cli/app/search/live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/app/search/live.py') 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'] -- cgit v1.2.3-70-g09d2