summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-12-19 20:04:40 +0100
committerJules Laplace <julescarbon@gmail.com>2019-12-19 20:04:40 +0100
commit3fe3ff2ffc43edc4cfddfbf26ed05a3c74d4dcd9 (patch)
tree8acc54841cf02c3258d36d0f21adae947090dede
parent55eed4c828b82fb82fa2948ff5dc9b69126dec20 (diff)
redo lerping and sineing
-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")