summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inversion/live.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/inversion/live.py b/inversion/live.py
index 4a3303e..6a01eae 100644
--- a/inversion/live.py
+++ b/inversion/live.py
@@ -164,8 +164,8 @@ class Interpolator:
self.lerp_params = {}
def build(self):
- self.opts['truncation'] = InterpolatorParam(name='truncation', value=1.0),
- self.opts['num_classes'] = InterpolatorParam(name='num_classes', value=1.0),
+ InterpolatorParam(name='truncation', value=1.0),
+ InterpolatorParam(name='num_classes', value=1.0),
lerp_z = LerpParam('latent', [BATCH_SIZE, Z_DIM])
sin_z = SinParam('orbit', [BATCH_SIZE, Z_DIM])
lerp_label = LerpParam('label', [BATCH_SIZE, N_CLASS], type="label")