From b00d97d064fbebc6a2085177f02b0c086cc17763 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 10 Jan 2020 03:05:10 +0100 Subject: live --- cli/app/search/live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/app/search/live.py b/cli/app/search/live.py index 2042287..5588272 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -170,7 +170,7 @@ class InterpolatorParam: val = truncated_z_sample(shape=self.shape, truncation=interpolator.opts['truncation'].value) elif self.datatype == 'label': val = label_sampler(shape=self.shape, num_classes=interpolator.opts['num_classes'].value) - elif self.datatype == 'encoding' + elif self.datatype == 'encoding': val = np.zeros(self.shape) else: val = 0.0 -- cgit v1.2.3-70-g09d2