From 74dea1246d68480a98beb63f62f66b7d07198323 Mon Sep 17 00:00:00 2001 From: Jan Buethe Date: Mon, 18 Dec 2023 12:33:11 +0100 Subject: bugfix --- dnn/torch/osce/utils/layers/td_shaper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnn/torch/osce/utils/layers/td_shaper.py b/dnn/torch/osce/utils/layers/td_shaper.py index 7080a1b3..0d2052ee 100644 --- a/dnn/torch/osce/utils/layers/td_shaper.py +++ b/dnn/torch/osce/utils/layers/td_shaper.py @@ -52,7 +52,7 @@ class TDShaper(nn.Module): self.feature_alpha1_t = nn.Conv1d(self.env_dim, frame_size, 2) self.feature_alpha2 = nn.Conv1d(frame_size, frame_size, 2) - if soft_quant: + if softquant: self.feature_alpha1_f = soft_quant(self.feature_alpha1_f) if self.innovate: -- cgit v1.2.3