diff options
Diffstat (limited to 'inversion/live.py')
| -rw-r--r-- | inversion/live.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/inversion/live.py b/inversion/live.py index 58cfa1e..38c98b6 100644 --- a/inversion/live.py +++ b/inversion/live.py @@ -159,15 +159,13 @@ class InterpolatorParam: class Interpolator: def __init__(self): - self.opts = { - # 'time': InterpolatorParam(name='t', value=time.time()), - 'truncation' : InterpolatorParam(name='truncation', value=1.0), - 'num_classes' : InterpolatorParam(name='num_classes', value=1.0), - } + self.opts = {} self.sin_params = {} 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), lerp_z = LerpParam('latent', [BATCH_SIZE, Z_DIM]) sin_z = SinParam('orbit', [BATCH_SIZE, Z_DIM]) lerp_label = LerpParam('label', [BATCH_SIZE, N_CLASS]) |
