diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-01-10 03:05:10 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-01-10 03:05:10 +0100 |
| commit | b00d97d064fbebc6a2085177f02b0c086cc17763 (patch) | |
| tree | f4023476dd4ef786156fc3ab8d7207d4ee099021 | |
| parent | a12f05dc09196c235cda2c76479471674857c922 (diff) | |
live
| -rw-r--r-- | cli/app/search/live.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
