From 9c874f36fc89369a59293ce5c0719dcf5ad6e823 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Feb 2020 17:38:50 +0100 Subject: incorporate layers into live script --- cli/app/search/live.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/app/search/live.py b/cli/app/search/live.py index eb89202..b680f47 100644 --- a/cli/app/search/live.py +++ b/cli/app/search/live.py @@ -404,8 +404,8 @@ class Interpolator: layer_labels_stored = [] new_layer_labels = [] for i in range(layer_label_count): - layer_labels_stored[i] = self.lerp_params['layer_stored_{}'.format(i)] - new_layer_labels[i] = np.expand_dims(data['layer_labels'][i], axis=0) + layer_labels_stored.append( self.lerp_params['layer_stored_{}'.format(i)] ) + new_layer_labels.append( np.expand_dims(data['layer_labels'][i], axis=0) ) # if we're showing an encoding already, lerp to the next one if encoding_stored_mix.n.value > 0: -- cgit v1.2.3-70-g09d2